Bugfix signed/unsigned typecast.
authorJason Self <j@jxself.org>
Tue, 15 Sep 2015 21:50:32 +0000 (14:50 -0700)
committerJason Self <j@jxself.org>
Tue, 15 Sep 2015 21:50:32 +0000 (14:50 -0700)
skein_cli.c

index 220809768a12a5ec51ca78806adc39ec201b4a1f..c8ae45b48ff37219fd4369ba9011ae10dd5979ca 100644 (file)
@@ -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);