diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-06 02:32:31 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-06 02:32:31 +0000 |
commit | fc66892abdd0934b6cb81571882f46a21488337a (patch) | |
tree | 506c5dbbcf94632dfe7bdc64dd4c97752a6a51ac /console-tools | |
parent | 35a064b67fc1954b95be06499a514a45c9f2e814 (diff) | |
download | busybox-fc66892abdd0934b6cb81571882f46a21488337a.tar.gz |
*: remove superfluous casts. no code changes
Diffstat (limited to 'console-tools')
-rw-r--r-- | console-tools/loadfont.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c index 8caeb3c4c..c6a3a4cd8 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c @@ -197,7 +197,7 @@ int loadfont_main(int argc UNUSED_PARAM, char **argv) * just read the entire file. */ len = 32*1024; // can't be larger - psfhdr = (struct psf_header *) xmalloc_read(STDIN_FILENO, &len); + psfhdr = xmalloc_read(STDIN_FILENO, &len); // xmalloc_open_zipped_read_close(filename, &len); if (!psfhdr) bb_perror_msg_and_die("error reading input font"); @@ -282,7 +282,7 @@ int setfont_main(int argc UNUSED_PARAM, char **argv) } // load font len = 32*1024; // can't be larger - psfhdr = (struct psf_header *) xmalloc_open_zipped_read_close(*argv, &len); + psfhdr = xmalloc_open_zipped_read_close(*argv, &len); if (!psfhdr) bb_simple_perror_msg_and_die(*argv); do_load(fd, psfhdr, len); |