X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Ffmt_compile.c;h=1fc5f36d9984831c7609bb64e0f6d005d3b5b47b;hp=435740eca429d224694c5721b1326c8ecaff791c;hb=db62cda50055368e5f4ac51df787053f70706c30;hpb=5518634037521728ddcb11b8eb4c6dcd7f046f83 diff --git a/sbr/fmt_compile.c b/sbr/fmt_compile.c index 435740e..1fc5f36 100644 --- a/sbr/fmt_compile.c +++ b/sbr/fmt_compile.c @@ -289,7 +289,7 @@ compile_error(char *str, char *cp) } advise(NULL, "\"%s\": format compile error - %s", - &usr_fstring[errpos-errctx], str); + &usr_fstring[errpos-errctx], str); adios(NULL, "%*s", errctx+1, "^"); } @@ -302,7 +302,7 @@ int fmt_compile(char *fstring, struct format **fmt) { register char *cp; - int i; + size_t i; if (format_string) free(format_string); @@ -409,9 +409,7 @@ do_spec(char *sp) { register char *cp = sp; register int c; -#ifndef lint register int ljust = 0; -#endif /* not lint */ register int wid = 0; register char fill = ' ';