diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-01-30 19:48:23 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-01-30 19:48:23 +0000 |
commit | 5e678873f9ff7c95d43b278feee547ce989b3b20 (patch) | |
tree | 6b0bab1e0d6df7f659352acc7dc844663c11634c /console-tools/loadfont.c | |
parent | 2cdd4d56ffc3b467d5ffa76e3c4cd009dc311097 (diff) | |
download | busybox-w32-5e678873f9ff7c95d43b278feee547ce989b3b20.tar.gz busybox-w32-5e678873f9ff7c95d43b278feee547ce989b3b20.tar.bz2 busybox-w32-5e678873f9ff7c95d43b278feee547ce989b3b20.zip |
clean up yet more annoying signed/unsigned mismatches and fixup
yet more incorrect types
Diffstat (limited to 'console-tools/loadfont.c')
-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 4580dc4e0..d9bbb2072 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c | |||
@@ -52,7 +52,7 @@ extern int loadfont_main(int argc, char **argv) | |||
52 | return EXIT_SUCCESS; | 52 | return EXIT_SUCCESS; |
53 | } | 53 | } |
54 | 54 | ||
55 | static void do_loadfont(int fd, char *inbuf, int unit, int fontsize) | 55 | static void do_loadfont(int fd, unsigned char *inbuf, int unit, int fontsize) |
56 | { | 56 | { |
57 | char buf[16384]; | 57 | char buf[16384]; |
58 | int i; | 58 | int i; |
@@ -138,7 +138,7 @@ do_loadtable(int fd, unsigned char *inbuf, int tailsz, int fontsize) | |||
138 | static void loadnewfont(int fd) | 138 | static void loadnewfont(int fd) |
139 | { | 139 | { |
140 | int unit; | 140 | int unit; |
141 | char inbuf[32768]; /* primitive */ | 141 | unsigned char inbuf[32768]; /* primitive */ |
142 | unsigned int inputlth, offset; | 142 | unsigned int inputlth, offset; |
143 | 143 | ||
144 | /* | 144 | /* |