From 1d1e433dc4da0c818090d50bdb5ab7af9efddd3a Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sat, 15 Sep 2012 15:00:16 -0400 Subject: [PATCH] ck_ht: Set unsigned key length. --- include/ck_ht.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ck_ht.h b/include/ck_ht.h index 5c9c37a..fb1276f 100644 --- a/include/ck_ht.h +++ b/include/ck_ht.h @@ -54,7 +54,7 @@ enum ck_ht_mode { #define CK_HT_KEY_LENGTH ((sizeof(void *) * 8) - CK_MD_VMA_BITS) #define CK_HT_KEY_MASK ((1U << CK_HT_KEY_LENGTH) - 1) #else -#define CK_HT_KEY_LENGTH 65535 +#define CK_HT_KEY_LENGTH 65535U #endif struct ck_ht_entry {