diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-07 09:44:58 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-07 09:45:16 +0100 |
commit | 545e090c81ce22bbb7edb6d3621c348bd994449c (patch) | |
tree | da40261b3a037e705d49b58b386b899e30c19fe4 /src/libutil/str_util.c | |
parent | c207930dc64a680cc9a1ae9075e66f9d963e32e4 (diff) | |
download | rspamd-545e090c81ce22bbb7edb6d3621c348bd994449c.tar.gz rspamd-545e090c81ce22bbb7edb6d3621c348bd994449c.zip |
[Minor] Fix some more suspicious cases
Diffstat (limited to 'src/libutil/str_util.c')
-rw-r--r-- | src/libutil/str_util.c | 2 |
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 */ |