dovecot-2.2: push-notification: Compiler warning fix.

dovecot at dovecot.org dovecot at dovecot.org
Fri Oct 2 09:17:45 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/cac0c21f5746
changeset: 19276:cac0c21f5746
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Oct 02 12:16:11 2015 +0300
description:
push-notification: Compiler warning fix.

diffstat:

 src/plugins/push-notification/push-notification-driver-ox.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 67996a17e857 -r cac0c21f5746 src/plugins/push-notification/push-notification-driver-ox.c
--- a/src/plugins/push-notification/push-notification-driver-ox.c	Fri Oct 02 12:10:41 2015 +0300
+++ b/src/plugins/push-notification/push-notification-driver-ox.c	Fri Oct 02 12:16:11 2015 +0300
@@ -143,7 +143,7 @@
     int ret;
 
     if ((dconfig->cached_ox_metadata != NULL) &&
-        ((dconfig->cached_ox_metadata_timestamp + dconfig->cached_ox_metadata_lifetime) > ioloop_time)) {
+        ((dconfig->cached_ox_metadata_timestamp + (time_t)dconfig->cached_ox_metadata_lifetime) > ioloop_time)) {
         return dconfig->cached_ox_metadata;
     }
 


More information about the dovecot-cvs mailing list