]> git.marmaro.de Git - mmh/blobdiff - uip/comp.c
Changed types and added casts so that build is clean with gcc -Wsign-compare.
[mmh] / uip / comp.c
index a9d2543765b3179045163fb9c788ce823ac69f8c..87953ad278baf3fd8883eced99ce5fc7cbaad5ac 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);