From 06daf27b6ccc643fa6526860138b287966129037 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 30 Oct 2019 17:34:59 +0000 Subject: [PATCH] [Minor] Oops, convert back to int --- src/plugins/spf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.39.5