From db0ea4615e4af42cb3131a7895127f7b32a214e6 Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Thu, 7 Mar 2019 12:53:23 +0000 Subject: [PATCH] fixed wrong conditionals in moo-utl.h --- moo/lib/moo-utl.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/moo/lib/moo-utl.h b/moo/lib/moo-utl.h index 25130c7..05fc826 100644 --- a/moo/lib/moo-utl.h +++ b/moo/lib/moo-utl.h @@ -119,15 +119,13 @@ * HASH * ========================================================================= */ -#if (MOO_SIZEOF_SIZE_T == 4) +#if (MOO_SIZEOF_OOW_T == 4) # define MOO_HASH_FNV_MAGIC_INIT (0x811c9dc5) # define MOO_HASH_FNV_MAGIC_PRIME (0x01000193) -#elif (MOO_SIZEOF_SIZE_T == 8) - +#elif (MOO_SIZEOF_OOW_T == 8) # define MOO_HASH_FNV_MAGIC_INIT (0xCBF29CE484222325) # define MOO_HASH_FNV_MAGIC_PRIME (0x100000001B3l) - -#elif (MOO_SIZEOF_SIZE_T == 16) +#elif (MOO_SIZEOF_OOW_T == 16) # define MOO_HASH_FNV_MAGIC_INIT (0x6C62272E07BB014262B821756295C58D) # define MOO_HASH_FNV_MAGIC_PRIME (0x1000000000000000000013B) #endif