summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Modules/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/md5.c b/Modules/md5.c
index f6d0e370c6..642f0bdc92 100644
--- a/Modules/md5.c
+++ b/Modules/md5.c
@@ -325,7 +325,7 @@ md5_append(md5_state_t *pms, const md5_byte_t *data, unsigned int nbytes)
{
const md5_byte_t *p = data;
unsigned int left = nbytes;
- int offset = (pms->count[0] >> 3) & 63;
+ unsigned int offset = (pms->count[0] >> 3) & 63;
md5_word_t nbits = (md5_word_t)(nbytes << 3);
if (nbytes <= 0)