From ca69bb90cb6091453d74d9693653b1c649553782 Mon Sep 17 00:00:00 2001 From: Amaury Forgeot d'Arc Date: Thu, 25 Jun 2009 21:29:32 +0000 Subject: [PATCH] Fix a compilation warning on Windows --- Modules/md5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/md5.c b/Modules/md5.c index f6d0e370c68..642f0bdc920 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)