aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/dkim.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-02 12:42:49 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-02 12:42:49 +0000
commit8cef31af2aa08a23661ce230207ed768a693edef (patch)
tree6aa8420f4bd3db1fef6b43d5a37023ef7241e0e3 /src/libserver/dkim.c
parentb00df4f1979888a6d3de48d4e586eb9e3aed21af (diff)
downloadrspamd-8cef31af2aa08a23661ce230207ed768a693edef.tar.gz
rspamd-8cef31af2aa08a23661ce230207ed768a693edef.zip
Fix some compile time warnings.
Diffstat (limited to 'src/libserver/dkim.c')
-rw-r--r--src/libserver/dkim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c
index e178cfea4..b439661c2 100644
--- a/src/libserver/dkim.c
+++ b/src/libserver/dkim.c
@@ -1150,7 +1150,7 @@ rspamd_dkim_canonize_body (rspamd_dkim_context_t *ctx,
const gchar *end)
{
const gchar *p;
- guint remain = ctx->len ? ctx->len : end - start;
+ guint remain = ctx->len ? ctx->len : (guint)(end - start);
if (start == NULL) {
/* Empty body */