From 175fb4650820a87f37eddbeb79bb3274a670642e Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sun, 15 Apr 2018 00:48:31 +0200 Subject: [PATCH] Fix issue for 32 bits system --- m-core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-core.h b/m-core.h index f788c4ae..6f7259c8 100644 --- a/m-core.h +++ b/m-core.h @@ -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;