diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-08-04 20:31:24 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-08-04 20:31:24 +0400 |
commit | 3f96e6a7a317e70b85b32de4aa06681c11d79006 (patch) | |
tree | 70343e3fb1a43d29d9c4f454fa47b2dcad6249ad /src/binlog.c | |
parent | 6b86782ce21caad081d41f54ef10233a8e757189 (diff) | |
download | rspamd-3f96e6a7a317e70b85b32de4aa06681c11d79006.tar.gz rspamd-3f96e6a7a317e70b85b32de4aa06681c11d79006.zip |
Fix signness in arithmetic operations.
Diffstat (limited to 'src/binlog.c')
-rw-r--r-- | src/binlog.c | 2 |
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; |