commit 06daf27: [Minor] Oops, convert back to int
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed Oct 30 17:42:14 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-10-30 17:34:59 +0000
URL: https://github.com/rspamd/rspamd/commit/06daf27b6ccc643fa6526860138b287966129037 (HEAD -> master)
[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));
}
More information about the Commits
mailing list