diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-01-30 22:48:23 +0300 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-01-30 22:48:23 +0300 |
commit | 5e678873f9ff7c95d43b278feee547ce989b3b20 (patch) | |
tree | 6b0bab1e0d6df7f659352acc7dc844663c11634c /console-tools/loadfont.c | |
parent | 2cdd4d56ffc3b467d5ffa76e3c4cd009dc311097 (diff) |
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) return EXIT_SUCCESS; } -static void do_loadfont(int fd, char *inbuf, int unit, int fontsize) +static void do_loadfont(int fd, unsigned char *inbuf, int unit, int fontsize) { char buf[16384]; int i; @@ -138,7 +138,7 @@ do_loadtable(int fd, unsigned char *inbuf, int tailsz, int fontsize) static void loadnewfont(int fd) { int unit; - char inbuf[32768]; /* primitive */ + unsigned char inbuf[32768]; /* primitive */ unsigned int inputlth, offset; /* |