X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fcomp.c;h=87953ad278baf3fd8883eced99ce5fc7cbaad5ac;hp=a9d2543765b3179045163fb9c788ce823ac69f8c;hb=d5b5e6e4813b7fd77dc1664df4304537f3002cf3;hpb=517661967774d60716ecff152c642b417195f900 diff --git a/uip/comp.c b/uip/comp.c index a9d2543..87953ad 100644 --- a/uip/comp.c +++ b/uip/comp.c @@ -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);