Changed types and added casts so that build is clean with gcc -Wsign-compare.
[mmh] / uip / comp.c
index a9d2543..87953ad 100644 (file)
@@ -169,7 +169,7 @@ main(int argc, char **argv)
                if ((out = creat(drft, m_gmprot())) == NOTOK) {
                        adios(drft, "unable to create");
                }
-               if (write(out, fmtstr, strlen(fmtstr)) != strlen(fmtstr)) {
+               if (write(out, fmtstr, strlen(fmtstr)) != (int)strlen(fmtstr)) {
                        adios(drft, "error writing");
                }
                close(out);