From c207930dc64a680cc9a1ae9075e66f9d963e32e4 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 7 Apr 2019 09:34:46 +0100 Subject: [Minor] Fix various warnings --- src/libutil/mem_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libutil/mem_pool.c') diff --git a/src/libutil/mem_pool.c b/src/libutil/mem_pool.c index a519013d1..7ef649c0c 100644 --- a/src/libutil/mem_pool.c +++ b/src/libutil/mem_pool.c @@ -75,7 +75,7 @@ struct rspamd_mempool_entry_point { static inline uint32_t rspamd_entry_hash (const char *str) { - return rspamd_cryptobox_fast_hash (str, strlen (str), rspamd_hash_seed ()); + return (guint)rspamd_cryptobox_fast_hash (str, strlen (str), rspamd_hash_seed ()); } static inline int -- cgit v1.2.3