aboutsummaryrefslogtreecommitdiff
path: root/loadfont.c
diff options
context:
space:
mode:
authorproski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-14 17:24:58 +0000
committerproski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-14 17:24:58 +0000
commit06cd8d4502d1f8fc57409d814c4a00c94427d760 (patch)
tree7381dffc6d435e1b950610f8630a6b7198dd87d8 /loadfont.c
parent107dff00d847731ea154abda013ead09fc61c131 (diff)
downloadbusybox-w32-06cd8d4502d1f8fc57409d814c4a00c94427d760.tar.gz
busybox-w32-06cd8d4502d1f8fc57409d814c4a00c94427d760.tar.bz2
busybox-w32-06cd8d4502d1f8fc57409d814c4a00c94427d760.zip
More fixes for "signed vs. unsigned" warnings.
git-svn-id: svn://busybox.net/trunk/busybox@858 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 b3f9f4f11..46a7574c0 100644
--- a/loadfont.c
+++ b/loadfont.c
@@ -161,7 +161,7 @@ static void loadnewfont(int fd)
161{ 161{
162 int unit; 162 int unit;
163 char inbuf[32768]; /* primitive */ 163 char inbuf[32768]; /* primitive */
164 int inputlth, offset; 164 unsigned int inputlth, offset;
165 165
166 /* 166 /*
167 * We used to look at the length of the input file 167 * We used to look at the length of the input file
@@ -187,7 +187,7 @@ static void loadnewfont(int fd)
187 struct psf_header psfhdr; 187 struct psf_header psfhdr;
188 int fontsize; 188 int fontsize;
189 int hastable; 189 int hastable;
190 int head0, head; 190 unsigned int head0, head;
191 191
192 if (inputlth < sizeof(struct psf_header)) 192 if (inputlth < sizeof(struct psf_header))
193 goto no_psf; 193 goto no_psf;