Skip to content

Commit 394340c

Browse files
committed
Fix counters to be unsigned within hexdigest function.
1 parent f61c47b commit 394340c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

whirlpool/pywhirlpool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ whirlpool_hexdigest(whirlpoolobject *self)
146146
#else
147147
char *hexdigest;
148148
#endif
149-
int i, j;
149+
unsigned int i, j;
150150

151151
/* Get the raw (binary) digest value */
152152
wpContext = self->whirlpool;

0 commit comments

Comments
 (0)