]> git.marmaro.de Git - mmh/commitdiff
Fixed a couple of signed-unsigned comparisons.
authorDavid Levine <levinedl@acm.org>
Tue, 20 Nov 2012 01:19:59 +0000 (19:19 -0600)
committerDavid Levine <levinedl@acm.org>
Tue, 20 Nov 2012 01:19:59 +0000 (19:19 -0600)
sbr/fmt_compile.c
uip/forwsbr.c

index 3a6202d43b94fddfaa67247c5ab99b4e0c6e4858..014733427dcd6261cded324b744e0cac125cdc7b 100644 (file)
@@ -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++) {
index 355adff2fc40ec596ed7db09d3dc8d49a330928c..86255857cecac7d9b85050485118fab8e7700d61 100644 (file)
@@ -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;