Changed types and added casts so that build is clean with gcc -Wsign-compare.
[mmh] / sbr / fmt_compile.c
index 435740e..dd0b52a 100644 (file)
@@ -302,7 +302,7 @@ int
 fmt_compile(char *fstring, struct format **fmt)
 {
        register char *cp;
 fmt_compile(char *fstring, struct format **fmt)
 {
        register char *cp;
-       int i;
+       size_t i;
 
        if (format_string)
                free(format_string);
 
        if (format_string)
                free(format_string);