]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Oops, convert back to int
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 30 Oct 2019 17:34:59 +0000 (17:34 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 30 Oct 2019 17:34:59 +0000 (17:34 +0000)
src/plugins/spf.c

index 14b2c375a711123854501a0eeb7b90a2d0c05275..3c02eafbe6cb80452f25524fdfb8816dd4318441 100644 (file)
@@ -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));
        }