提交 ffd28c19 authored 作者: Jeff Lenk's avatar Jeff Lenk

fix build windows

上级 4e5911c2
......@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论