From: Jason Self Date: Tue, 15 Sep 2015 21:50:32 +0000 (-0700) Subject: Bugfix signed/unsigned typecast. X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=6ec116da3188186d71484164c2ce430ac5a08966;p=skeinsum.git Bugfix signed/unsigned typecast. --- diff --git a/skein_cli.c b/skein_cli.c index 2208097..c8ae45b 100644 --- a/skein_cli.c +++ b/skein_cli.c @@ -243,7 +243,7 @@ int VerifyHashesFromFile(FILE *fp, int status, int warn, int quiet) char file_tmp[PATH_MAX]; line ++; Computed++; - unsigned int hashVersion = decomposeHashLine(hash,MsgDigest_tmp,file_tmp); + int hashVersion = decomposeHashLine(hash,MsgDigest_tmp,file_tmp); if (hashVersion == -1) { fprintf(stderr, "skein%d: %s is using newer version of skein%d algorithm\n",hashbitlen,file_tmp,hashbitlen);