]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix a compilation warning on Windows
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 25 Jun 2009 21:29:32 +0000 (21:29 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 25 Jun 2009 21:29:32 +0000 (21:29 +0000)
Modules/md5.c

index f6d0e370c687547fc91058576181a6078e95e474..642f0bdc920235dcbc79731102a772b541a38531 100644 (file)
@@ -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)