summaryrefslogtreecommitdiff
path: root/loadfont.c
diff options
context:
space:
mode:
authorPavel Roskin2000-07-14 17:24:58 +0000
committerPavel Roskin2000-07-14 17:24:58 +0000
commitdf4532bfa390d7986a0544b93a95921d4b473ef2 (patch)
tree7381dffc6d435e1b950610f8630a6b7198dd87d8 /loadfont.c
parentff5a9033f9dfa449d32aa7b2631a55ebfb7fbc5e (diff)
downloadbusybox-df4532bfa390d7986a0544b93a95921d4b473ef2.zip
busybox-df4532bfa390d7986a0544b93a95921d4b473ef2.tar.gz
More fixes for "signed vs. unsigned" warnings.
Diffstat (limited to 'loadfont.c')
-rw-r--r--loadfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loadfont.c b/loadfont.c
index b3f9f4f..46a7574 100644
--- a/loadfont.c
+++ b/loadfont.c
@@ -161,7 +161,7 @@ static void loadnewfont(int fd)
{
int unit;
char inbuf[32768]; /* primitive */
- int inputlth, offset;
+ unsigned int inputlth, offset;
/*
* We used to look at the length of the input file
@@ -187,7 +187,7 @@ static void loadnewfont(int fd)
struct psf_header psfhdr;
int fontsize;
int hastable;
- int head0, head;
+ unsigned int head0, head;
if (inputlth < sizeof(struct psf_header))
goto no_psf;