diff --git a/src/lookup3.h b/src/lookup3.h index 7202b21..9b39aa1 100644 --- a/src/lookup3.h +++ b/src/lookup3.h @@ -73,7 +73,7 @@ on 1 byte), but shoehorning those bytes into integers efficiently is messy. # define HASH_BIG_ENDIAN 0 #endif -#define hashsize(n) ((uint32_t)1<<(n)) +#define hashsize(n) ((size_t)1<<(n)) #define hashmask(n) (hashsize(n)-1) #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k))))