Changed types and added casts so that build is clean with gcc -Wsign-compare.
[mmh] / uip / forw.c
index e79e395..53b0968 100644 (file)
@@ -238,7 +238,7 @@ main(int argc, char **argv)
                close(in);
        } else {
                fmtstr = new_fs(form, forwcomps);
-               if (write(out, fmtstr, strlen(fmtstr)) != strlen(fmtstr)) {
+               if (write(out, fmtstr, strlen(fmtstr)) != (int)strlen(fmtstr)) {
                        adios(drft, "error writing");
                }
        }