diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-08-04 20:31:24 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-08-04 20:31:24 +0400 |
commit | 3f96e6a7a317e70b85b32de4aa06681c11d79006 (patch) | |
tree | 70343e3fb1a43d29d9c4f454fa47b2dcad6249ad /src/view.c | |
parent | 6b86782ce21caad081d41f54ef10233a8e757189 (diff) | |
download | rspamd-3f96e6a7a317e70b85b32de4aa06681c11d79006.tar.gz rspamd-3f96e6a7a317e70b85b32de4aa06681c11d79006.zip |
Fix signness in arithmetic operations.
Diffstat (limited to 'src/view.c')
-rw-r--r-- | src/view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view.c b/src/view.c index 24fbcf195..7b70a07ca 100644 --- a/src/view.c +++ b/src/view.c @@ -229,7 +229,7 @@ check_view_rcpt (struct rspamd_view *v, struct worker_task *task) cur = task->rcpt; while (cur) { if ((p = strchr (cur->data, '@')) != NULL) { - l = MIN (sizeof (rcpt_user) - 1, p - (gchar *)cur->data); + l = MIN ((gint)sizeof (rcpt_user) - 1, p - (gchar *)cur->data); memcpy (rcpt_user, cur->data, l); rcpt_user[l] = '\0'; /* First try to lookup in hashtable */ |