summaryrefslogtreecommitdiffstats
path: root/zix/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'zix/hash.c')
-rw-r--r--zix/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zix/hash.c b/zix/hash.c
index 2577567..e8acfea 100644
--- a/zix/hash.c
+++ b/zix/hash.c
@@ -150,7 +150,7 @@ zix_hash_find(const ZixHash* hash, const void* value)
}
ZIX_API ZixStatus
-zix_hash_insert(ZixHash* hash, const void* value, const void** inserted)
+zix_hash_insert(ZixHash* hash, const void* value, void** inserted)
{
unsigned h_nomod = hash->hash_func(value);
unsigned h = h_nomod % *hash->n_buckets;