From: Michael Jerris Date: Thu, 5 Apr 2007 10:54:08 +0000 (+0000) Subject: silly cast. X-Git-Tag: v1.0-beta1~592 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b031361fc0e342d87918e7134bcea746dc732ca;p=thirdparty%2Ffreeswitch.git silly cast. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4858 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 18411a2dc0..a5c09a100a 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -583,7 +583,7 @@ static int sofia_presence_mwi_callback(void *pArg, int argc, char **argv, char * assert(nh != NULL); id = switch_mprintf("sip:%s@%s", sub_to_user, sub_to_host); - expire_sec -= time(NULL); + expire_sec = (int)(expire_sec - time(NULL)); if (expire_sec < 0) { expire_sec = 3600; }