summaryrefslogtreecommitdiffstats
path: root/src/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash.c')
-rw-r--r--src/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash.c b/src/hash.c
index 7fc345d..7576eba 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -175,7 +175,7 @@ rehash(ZixHash* const hash, const size_t old_n_entries)
// Reinsert every element into the new array
for (size_t i = 0U; i < old_n_entries; ++i) {
- ZixHashEntry* const entry = &old_entries[i];
+ const ZixHashEntry* const entry = &old_entries[i];
if (entry->value) {
assert(hash->mask == hash->n_entries - 1U);