From: David Levine Date: Tue, 20 Nov 2012 01:19:59 +0000 (-0600) Subject: Fixed a couple of signed-unsigned comparisons. X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=a97c3e637eaf2e2f4ecd8cb93b11795afb980988;p=mmh Fixed a couple of signed-unsigned comparisons. --- diff --git a/sbr/fmt_compile.c b/sbr/fmt_compile.c index 3a6202d..0147334 100644 --- a/sbr/fmt_compile.c +++ b/sbr/fmt_compile.c @@ -981,7 +981,7 @@ fmt_appendcomp(int bucket, char *component, char *text) static void free_comptable(void) { - int i; + unsigned int i; struct comp *cm, *cm2; for (i = 0; i < sizeof(wantcomp)/sizeof(wantcomp[0]); i++) { diff --git a/uip/forwsbr.c b/uip/forwsbr.c index 355adff..8625585 100644 --- a/uip/forwsbr.c +++ b/uip/forwsbr.c @@ -47,7 +47,7 @@ build_form (char *form, char *digest, int *dat, char *from, char *to, { int in; int fmtsize, state, char_read = 0; - unsigned i; + int i; register char *nfs; char *line, tmpfil[BUFSIZ], name[NAMESZ], **ap; FILE *tmp;