urcu-ht: fix
[urcu.git] / urcu-ht.c
index 49262076d5c33c0964945dc0170fdaf4ab1d2cc9..0bbdb5d4e8284d28e8de006cb0ea5476eb9dc7f4 100644 (file)
--- a/urcu-ht.c
+++ b/urcu-ht.c
@@ -269,7 +269,7 @@ uint32_t ht_jhash(void *key, uint32_t length, uint32_t initval)
        uint32_t ret;
        void *vkey;
 
-       if (length <= sizeof(u32))
+       if (length <= sizeof(void *))
                vkey = &key;
        else
                vkey = key;
This page took 0.022969 seconds and 4 git commands to generate.