diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-22 17:39:46 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-22 17:39:46 +0000 |
commit | a93fbccaea8bcec71180add91cf9957dda2a1954 (patch) | |
tree | 7cbff1e474bf41d03def8536340d1610bad97bf2 /src/libutil/radix.c | |
parent | 89956e513656feed88e7bbb05348dcea3fc1d615 (diff) | |
download | rspamd-a93fbccaea8bcec71180add91cf9957dda2a1954.tar.gz rspamd-a93fbccaea8bcec71180add91cf9957dda2a1954.zip |
[Fix] Fix various warnings and issues
Diffstat (limited to 'src/libutil/radix.c')
-rw-r--r-- | src/libutil/radix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/radix.c b/src/libutil/radix.c index ac6938fe2..fcc6b1cf6 100644 --- a/src/libutil/radix.c +++ b/src/libutil/radix.c @@ -88,13 +88,13 @@ radix_insert_compressed (radix_compressed_t * tree, msg_err_radix ("cannot insert %p, key: %s/%d, duplicate value", (gpointer)value, inet_ntop (AF_INET, key, ip_str, sizeof (ip_str) - 1), - keybits - masklen); + (gint)(keybits - masklen)); } else if (keybits == 128) { msg_err_radix ("cannot insert %p, key: [%s]/%d, duplicate value", (gpointer)value, inet_ntop (AF_INET6, key, ip_str, sizeof (ip_str) - 1), - keybits - masklen); + (gint)(keybits - masklen)); } else { msg_err_radix ("cannot insert %p with mask %z, key: %*xs, duplicate value", |