aboutsummaryrefslogtreecommitdiffstats
path: root/src/binlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/binlog.c')
-rw-r--r--src/binlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binlog.c b/src/binlog.c
index 2a1eb9fcb..f87a81b00 100644
--- a/src/binlog.c
+++ b/src/binlog.c
@@ -313,7 +313,7 @@ maybe_rotate_binlog (struct rspamd_binlog *log)
{
guint64 now = time (NULL);
- if (log->rotate_time && ((now - log->header.create_time) > log->rotate_time + log->rotate_jitter)) {
+ if (log->rotate_time && ((now - log->header.create_time) > (guint)(log->rotate_time + log->rotate_jitter))) {
return TRUE;
}
return FALSE;