diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2013-11-17 16:08:23 -0600 |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2013-11-17 16:08:23 -0600 |
commit | 7f4bf9fb10945d227d131f1536ec7cd762ae029c (patch) | |
tree | 5534eeb588f9d91b19ec0b48f058ce29ceaaacdd | |
parent | 136f064b9375fbd0012f5644e32338d66594ac0f (diff) | |
download | cpython-git-7f4bf9fb10945d227d131f1536ec7cd762ae029c.tar.gz |
Issue #19520: Fix (the last!) compiler warning on 32bit Windows, in _sha3
-rw-r--r-- | Misc/NEWS | 2 | ||||
-rw-r--r-- | Modules/_sha3/keccak/KeccakF-1600-opt32.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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. diff --git a/Modules/_sha3/keccak/KeccakF-1600-opt32.c b/Modules/_sha3/keccak/KeccakF-1600-opt32.c index dba6d59f13..c52bfb7fd7 100644 --- a/Modules/_sha3/keccak/KeccakF-1600-opt32.c +++ b/Modules/_sha3/keccak/KeccakF-1600-opt32.c @@ -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); \ } |