changeset 19276:cac0c21f5746

push-notification: Compiler warning fix.
author Timo Sirainen <tss@iki.fi>
date Fri, 02 Oct 2015 12:16:11 +0300
parents 67996a17e857
children 7a7111a5ce5e
files src/plugins/push-notification/push-notification-driver-ox.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
     }