aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/str_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/str_util.c')
-rw-r--r--src/libutil/str_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/str_util.c b/src/libutil/str_util.c
index d32a0d4d1..290110b2b 100644
--- a/src/libutil/str_util.c
+++ b/src/libutil/str_util.c
@@ -334,7 +334,7 @@ rspamd_gstring_icase_hash (gconstpointer key)
{
const GString *f = key;
- return rspamd_icase_hash (f->str, f->len, rspamd_hash_seed ());
+ return (guint)rspamd_icase_hash (f->str, f->len, rspamd_hash_seed ());
}
/* https://graphics.stanford.edu/~seander/bithacks.html#ZeroInWord */