[Freeswitch-trunk] [commit] r13651 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Fri Jun 5 13:57:35 PDT 2009


Author: anthm
Date: Fri Jun  5 15:57:34 2009
New Revision: 13651

Log:
picky compilers

Modified:
   freeswitch/trunk/src/switch_core.c

Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c	(original)
+++ freeswitch/trunk/src/switch_core.c	Fri Jun  5 15:57:34 2009
@@ -107,7 +107,7 @@
 			switch_set_string(old_ip4, main_ip4);
 			switch_set_string(main_ip4, guess_ip4);
 			switch_core_set_variable("local_ip_v4", guess_ip4);
-			switch_core_set_variable("local_mask_v4", inet_ntoa(*(struct in_addr *)&mask));
+			switch_core_set_variable("local_mask_v4", inet_ntoa(*(struct in_addr *)(intptr_t)&mask));
 		}
 	}
 



More information about the Freeswitch-trunk mailing list