summaryrefslogtreecommitdiffstats
path: root/src/filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/filter.c')
-rw-r--r--src/filter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filter.c b/src/filter.c
index 218ba0c..a3432a2 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -44,14 +44,14 @@ struct ct_filter {
#define FILTER_POOL_SIZE 128
#define FILTER_POOL_LIMIT INT_MAX
-static uint32_t hash(const void *data, struct hashtable *table)
+static uint32_t hash(const void *data, const struct hashtable *table)
{
const uint32_t *f = data;
return jhash_1word(*f, 0) % table->hashsize;
}
-static uint32_t hash6(const void *data, struct hashtable *table)
+static uint32_t hash6(const void *data, const struct hashtable *table)
{
return jhash2(data, 4, 0) % table->hashsize;
}