From: Amaury Forgeot d'Arc Date: Thu, 25 Jun 2009 21:29:32 +0000 (+0000) Subject: Fix a compilation warning on Windows X-Git-Tag: v2.7a1~903 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca69bb90cb6091453d74d9693653b1c649553782;p=thirdparty%2FPython%2Fcpython.git Fix a compilation warning on Windows --- diff --git a/Modules/md5.c b/Modules/md5.c index f6d0e370c687..642f0bdc9202 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)