From: Jeff Lenk Date: Wed, 13 Oct 2010 15:59:34 +0000 (-0500) Subject: fix build windows X-Git-Tag: v1.2-rc1~265^2~11^2~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffd28c193079a1e720a32b85b0a4727bcc869f92;p=thirdparty%2Ffreeswitch.git fix build windows --- diff --git a/src/switch_utils.c b/src/switch_utils.c index aa8f4139d2..ea5bd37051 100644 --- a/src/switch_utils.c +++ b/src/switch_utils.c @@ -1515,7 +1515,7 @@ SWITCH_DECLARE(char *) get_addr6(char *buf, switch_size_t len, struct sockaddr_i if (sa) { #if defined(NTDDI_VERSION) - switch_inet_ntop6((unsigned char*)sa->sin6_addr, buf, len); + switch_inet_ntop6((unsigned char*)&(sa->sin6_addr), buf, len); #else inet_ntop(AF_INET6, &(sa->sin6_addr), buf, len); #endif