aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/mem_pool.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-07 09:34:46 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-04-07 09:45:16 +0100
commitc207930dc64a680cc9a1ae9075e66f9d963e32e4 (patch)
tree622d707a9f57dc2cd80d7ae85ca476c05960be2d /src/libutil/mem_pool.c
parent6970374fc3e1dca0f7a428470149e3952079cc61 (diff)
downloadrspamd-c207930dc64a680cc9a1ae9075e66f9d963e32e4.tar.gz
rspamd-c207930dc64a680cc9a1ae9075e66f9d963e32e4.zip
[Minor] Fix various warnings
Diffstat (limited to 'src/libutil/mem_pool.c')
-rw-r--r--src/libutil/mem_pool.c2
1 files changed, 1 insertions, 1 deletions
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