]> git.marmaro.de Git - mmh/blobdiff - uip/forw.c
Changed types and added casts so that build is clean with gcc -Wsign-compare.
[mmh] / uip / forw.c
index e79e39584ccf637831c76702ec3da8b2a3e8a2aa..53b09683b083848178bfbe01dc52c11c8fe61c47 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");
                }
        }