[Python-checkins] cpython: Issue #19520: Fix (the last!) compiler warning on 32bit Windows, in _sha3
zach.ware
python-checkins at python.org
Mon Nov 18 05:08:32 CET 2013
http://hg.python.org/cpython/rev/259c82332199
changeset: 87239:259c82332199
user: Zachary Ware <zachary.ware at gmail.com>
date: Sun Nov 17 16:08:23 2013 -0600
summary:
Issue #19520: Fix (the last!) compiler warning on 32bit Windows, in _sha3
files:
Misc/NEWS | 2 ++
Modules/_sha3/keccak/KeccakF-1600-opt32.c | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -285,6 +285,8 @@
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
--- a/Modules/_sha3/keccak/KeccakF-1600-opt32.c
+++ b/Modules/_sha3/keccak/KeccakF-1600-opt32.c
@@ -212,7 +212,7 @@
#define extractLanes(laneCount, state, data) \
{ \
- int i; \
+ unsigned int i; \
for(i=0; i<(laneCount); i++) \
setInterleavedWordsInto8bytes(data+i*8, (UINT32*)state+i*2); \
}
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list