[Freeswitch-svn] [commit] r4858 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN mikej at freeswitch.org
Thu Apr 5 06:54:09 EDT 2007


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;
 	}



More information about the Freeswitch-svn mailing list