From: Vsevolod Stakhov Date: Wed, 30 Oct 2019 17:34:59 +0000 (+0000) Subject: [Minor] Oops, convert back to int X-Git-Tag: 2.2~121 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=06daf27b6ccc643fa6526860138b287966129037;p=rspamd.git [Minor] Oops, convert back to int --- diff --git a/src/plugins/spf.c b/src/plugins/spf.c index 14b2c375a..3c02eafbe 100644 --- a/src/plugins/spf.c +++ b/src/plugins/spf.c @@ -567,7 +567,7 @@ spf_check_list (struct spf_resolved *rec, struct rspamd_task *task, gboolean cac "%d/%d elements in the cache", rec->domain, rec->digest, - rec->ttl - (task->task_timestamp - rec->timestamp), + rec->ttl - (guint)(task->task_timestamp - rec->timestamp), rspamd_lru_hash_size (spf_module_ctx->spf_hash), rspamd_lru_hash_capacity (spf_module_ctx->spf_hash)); }