From 2275a09f73046768a446b8dbb4d467de35b0f80b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 22 Jun 2024 19:06:07 -0400 Subject: Add missing const qualifier --- src/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.1