X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/038406fdfef4945bfa18f760377cc45cd6221982..1e8ae5ede66ba337ba6abbb4afad2b3319c1db74:/md4.c diff --git a/md4.c b/md4.c index 35d160d1..9fc08254 100644 --- a/md4.c +++ b/md4.c @@ -102,7 +102,7 @@ ** Assumes X is an array of 16 ints. ** The macro revx reverses the byte-ordering of the next word of X. */ - void MDreverse(X) +static void MDreverse(X) unsigned int32 *X; { register unsigned int32 t; register unsigned int i; @@ -213,7 +213,7 @@ if (count == 0 && MDp->done) return; /* check to see if MD is already done and report error */ if (MDp->done) - { fprintf(FERROR,"\nError: MDupdate MD already done."); return; } + { rprintf(FERROR,"\nError: MDupdate MD already done."); return; } /* Add count to MDp->count */ tmp = count; p = MDp->count; @@ -225,10 +225,10 @@ /* Process data */ if (count == 512) { /* Full block of data to handle */ - MDblock(MDp,(unsigned int *)X); + MDblock(MDp,(unsigned int32 *)X); } else if (count > 512) /* Check for count too large */ - { fprintf(FERROR,"\nError: MDupdate called with illegal count value %d." + { rprintf(FERROR,"\nError: MDupdate called with illegal count value %d." ,count); return; }