5 Apr
2007
5 Apr
'07
10:54 a.m.
Author: mikej Date: Thu Apr 5 06:54:08 2007 New Revision: 4858 Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c Log: silly cast. Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c Thu Apr 5 06:54:08 2007 @@ -583,7 +583,7 @@ 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; }