ck_ht: Set unsigned key length.

ck_pring
Samy Al Bahra 12 years ago
parent ec0d212c04
commit 1d1e433dc4

@ -54,7 +54,7 @@ enum ck_ht_mode {
#define CK_HT_KEY_LENGTH ((sizeof(void *) * 8) - CK_MD_VMA_BITS) #define CK_HT_KEY_LENGTH ((sizeof(void *) * 8) - CK_MD_VMA_BITS)
#define CK_HT_KEY_MASK ((1U << CK_HT_KEY_LENGTH) - 1) #define CK_HT_KEY_MASK ((1U << CK_HT_KEY_LENGTH) - 1)
#else #else
#define CK_HT_KEY_LENGTH 65535 #define CK_HT_KEY_LENGTH 65535U
#endif #endif
struct ck_ht_entry { struct ck_ht_entry {

Loading…
Cancel
Save