]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #19520: Fix (the last!) compiler warning on 32bit Windows, in _sha3
authorZachary Ware <zachary.ware@gmail.com>
Sun, 17 Nov 2013 22:08:23 +0000 (16:08 -0600)
committerZachary Ware <zachary.ware@gmail.com>
Sun, 17 Nov 2013 22:08:23 +0000 (16:08 -0600)
Misc/NEWS
Modules/_sha3/keccak/KeccakF-1600-opt32.c

index e70db5a9d3ceff6ee4d0bc526acb5c07629e580a..941eb29fd9c4449f69b29ec45ceea0fb287f6b1d 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -285,6 +285,8 @@ Tests
 Build
 -----
 
+- Issue #19520: Fix compiler warning in the _sha3 module on 32bit Windows.
+
 - Issue #19356: Avoid using a C variabled named "_self", it's a reserved
   word in some C compilers.
 
index dba6d59f1341db5b7b5cc8869305ebd9217441a1..c52bfb7fd7c0db09292a10678cbaf6a6d5adc100 100644 (file)
@@ -212,7 +212,7 @@ static void setInterleavedWordsInto8bytes(UINT8* dest, UINT32* evenAndOdd)
 
 #define extractLanes(laneCount, state, data) \
     { \
-        int i; \
+        unsigned int i; \
         for(i=0; i<(laneCount); i++) \
             setInterleavedWordsInto8bytes(data+i*8, (UINT32*)state+i*2); \
     }