summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/hash.c2
-rw-r--r--test/meson.build1
2 files changed, 1 insertions, 2 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);
diff --git a/test/meson.build b/test/meson.build
index fbcaac9..3028d4c 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -50,7 +50,6 @@ if not meson.is_subproject() and get_option('lint')
'--project=' + compdb_path,
'--suppress=constParameterCallback',
'--suppress=constParameterPointer',
- '--suppress=constVariablePointer',
'--suppress=knownConditionTrueFalse',
'--suppress=selfAssignment',
'--suppress=unreadVariable',