src/hash_key.c

changeset 603
c49104015a6b
parent 563
69a83fad8a35
child 604
056e5f592d84
--- a/src/hash_key.c	Sun Nov 06 14:17:33 2022 +0100
+++ b/src/hash_key.c	Sun Nov 06 14:46:59 2022 +0100
@@ -96,11 +96,11 @@
 }
 
 CxHashKey cx_hash_key(
-        void *obj,
+        void const *obj,
         size_t len
 ) {
     CxHashKey key;
-    key.data.obj = obj;
+    key.data.cobj = obj;
     key.len = len;
     cx_hash_murmur(&key);
     return key;

mercurial