Fix issue for 32 bits system

This commit is contained in:
Patrick Pelissier committed 2018-04-15 00:48:31 +02:00
1 parent 2f65400641
commit 175fb46508
1 file changed
+1 -1
+1 -1
View File
@@ -1348,7 +1348,7 @@ m_core_hash (const void *str, size_t length)
const uint8_t *p = (const uint8_t *)str;
assert (str != NULL);
assert ( (( (uintptr_t)p & (sizeof(uint64_t)-1) ) == 0) || (length <= sizeof(uint32_t)));
assert ( (( (uintptr_t)p & (sizeof(uint32_t)-1) ) == 0) || (length <= sizeof(uint32_t)));
while (length >= 2*sizeof(uint32_t)) {
const uint32_t *ptr = (const uint32_t *) (uintptr_t) p;