mirror of
https://github.com/FEX-Emu/xxHash.git
synced 2025-02-09 08:32:19 +00:00
fixed minor ARM compilation warnings
This commit is contained in:
parent
53c4511234
commit
4fc497b71a
12
xxhsum.c
12
xxhsum.c
@ -449,17 +449,17 @@ static void BMK_sanityCheck(void)
|
||||
static void BMK_display_LittleEndian(const void* ptr, size_t length)
|
||||
{
|
||||
const BYTE* p = (const BYTE*)ptr;
|
||||
size_t index;
|
||||
for (index=length-1; index<length; index--) /* intentional underflow to negative to detect end */
|
||||
DISPLAYRESULT("%02x", p[index]);
|
||||
size_t idx;
|
||||
for (idx=length-1; idx<length; idx--) /* intentional underflow to negative to detect end */
|
||||
DISPLAYRESULT("%02x", p[idx]);
|
||||
}
|
||||
|
||||
static void BMK_display_BigEndian(const void* ptr, size_t length)
|
||||
{
|
||||
const BYTE* p = (const BYTE*)ptr;
|
||||
size_t index;
|
||||
for (index=0; index<length; index++)
|
||||
DISPLAYRESULT("%02x", p[index]);
|
||||
size_t idx;
|
||||
for (idx=0; idx<length; idx++)
|
||||
DISPLAYRESULT("%02x", p[idx]);
|
||||
}
|
||||
|
||||
static void BMK_hashStream(void* xxhHashValue, const algoType hashType, FILE* inFile, void* buffer, size_t blockSize)
|
||||
|
Loading…
x
Reference in New Issue
Block a user