diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-11 18:00:43 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-11 18:00:43 +0000 |
commit | f3585bb8b0ecc2dc710c9958484748afad38fec6 (patch) | |
tree | a17c28a29c8bf44d2c1e4f28e58ee9bd4053ad5b /src/libserver/cfg_rcl.c | |
parent | e4abacbe1ddd0f3e7e60a53aec5d93f96702b081 (diff) | |
download | rspamd-f3585bb8b0ecc2dc710c9958484748afad38fec6.tar.gz rspamd-f3585bb8b0ecc2dc710c9958484748afad38fec6.zip |
Fix format issues found by static analysis
Diffstat (limited to 'src/libserver/cfg_rcl.c')
-rw-r--r-- | src/libserver/cfg_rcl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index b42f2241c..42830d700 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -2186,7 +2186,8 @@ rspamd_rcl_parse_struct_keypair (rspamd_mempool_t *pool, rspamd_snprintf (keybuf, sizeof (keybuf), "%s%s", sk, pk); } else { - rspamd_snprintf (keybuf, sizeof (keybuf), "%*s%s", sem - sk, sk, pk); + rspamd_snprintf (keybuf, sizeof (keybuf), "%*s%s", (gint)(sem - sk), + sk, pk); } key = rspamd_http_connection_make_key (keybuf, strlen (keybuf)); |