]> git.marmaro.de Git - mmh/blobdiff - uip/mhparse.c
When doing an if-test on the result of a function which returns a string
[mmh] / uip / mhparse.c
index 733048d820ef9c5410476713807618d13222cb4f..4887d9a17988ce94b70c47a39e92d87ab808dcfd 100644 (file)
@@ -209,7 +209,8 @@ pidcheck (int status)
 
     fflush (stdout);
     fflush (stderr);
-    return done (1);
+    done (1);
+    return 1;
 }
 
 
@@ -2683,7 +2684,7 @@ invalid_digest:
            while (*cp)
                cp++;
            fprintf (stderr, "invalid MD5 digest (got %d octets)\n",
-                    cp - bp);
+                    (int)(cp - bp));
        }
 
        return NOTOK;