Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f4bf9f

Browse files
committed
Issue #19520: Fix (the last!) compiler warning on 32bit Windows, in _sha3
1 parent 136f064 commit 7f4bf9f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ Tests
285285
Build
286286
-----
287287

288+
- Issue #19520: Fix compiler warning in the _sha3 module on 32bit Windows.
289+
288290
- Issue #19356: Avoid using a C variabled named "_self", it's a reserved
289291
word in some C compilers.
290292

Modules/_sha3/keccak/KeccakF-1600-opt32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ static void setInterleavedWordsInto8bytes(UINT8* dest, UINT32* evenAndOdd)
212212

213213
#define extractLanes(laneCount, state, data) \
214214
{ \
215-
int i; \
215+
unsigned int i; \
216216
for(i=0; i<(laneCount); i++) \
217217
setInterleavedWordsInto8bytes(data+i*8, (UINT32*)state+i*2); \
218218
}

0 commit comments

Comments
 (0)