summaryrefslogtreecommitdiffstats
path: root/src/libutil/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/hash.c')
-rw-r--r--src/libutil/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/hash.c b/src/libutil/hash.c
index 7610a4a9a..0a09e3b11 100644
--- a/src/libutil/hash.c
+++ b/src/libutil/hash.c
@@ -124,7 +124,7 @@ rspamd_lru_hash_new (
}
gpointer
-rspamd_lru_hash_lookup (rspamd_lru_hash_t *hash, gpointer key, time_t now)
+rspamd_lru_hash_lookup (rspamd_lru_hash_t *hash, gconstpointer key, time_t now)
{
rspamd_lru_element_t *res;
GList *cur, *tmp;