From a97c3e637eaf2e2f4ecd8cb93b11795afb980988 Mon Sep 17 00:00:00 2001 From: David Levine Date: Mon, 19 Nov 2012 19:19:59 -0600 Subject: [PATCH] Fixed a couple of signed-unsigned comparisons. --- sbr/fmt_compile.c | 2 +- uip/forwsbr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 1.7.10.4