diff mcabber/src/jab_iq.c @ 965:1bdf0f1b16c0

Use U suffix for unsigned defines Also fix a few small typos: value 2 (1<<1) weren't used in enums.
author Mikael Berthe <mikael@lilotux.net>
date Wed, 27 Sep 2006 22:57:23 +0200
parents 8bf36cef8aa6
children 5b01de4ac5e1 923cf5a92b44
line wrap: on
line diff
--- a/mcabber/src/jab_iq.c	Tue Sep 19 19:08:09 2006 +0200
+++ b/mcabber/src/jab_iq.c	Wed Sep 27 22:57:23 2006 +0200
@@ -136,7 +136,7 @@
     // could be freed.
     p = g_slist_next(p);
 
-    if ((!i->ts_expire && now_t > i->ts_create + IQS_MAX_TIMEOUT) ||
+    if ((!i->ts_expire && now_t > i->ts_create + (time_t)IQS_MAX_TIMEOUT) ||
         (i->ts_expire && now_t > i->ts_expire)) {
       iqs_callback(i->id, NULL, IQS_CONTEXT_TIMEOUT);
     }