[Freeswitch-svn] [commit] r13120 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Wed Apr 22 11:50:57 PDT 2009


Author: anthm
Date: Wed Apr 22 13:50:57 2009
New Revision: 13120

Log:
FSCORE-355

Modified:
   freeswitch/trunk/src/switch_utils.c

Modified: freeswitch/trunk/src/switch_utils.c
==============================================================================
--- freeswitch/trunk/src/switch_utils.c	(original)
+++ freeswitch/trunk/src/switch_utils.c	Wed Apr 22 13:50:57 2009
@@ -1155,7 +1155,7 @@
 
 	if (flags & SWITCH_URI_NO_SCOPE && sa->family == AF_INET6) {
 		memcpy(&ss, &sa->sa, sa->salen);
-		((struct sockaddr_in6*) &ss)->sin6_scope_id = 0;
+		((struct sockaddr_in6*) (intptr_t) &ss)->sin6_scope_id = 0;
 		addr = (const struct sockaddr*) &ss;
 	} else {
 		addr = (const struct sockaddr*) &sa->sa;



More information about the Freeswitch-svn mailing list