diff options
-rw-r--r-- | pjlib/src/pj/sock_bsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjlib/src/pj/sock_bsd.c b/pjlib/src/pj/sock_bsd.c index 1a6d13f8..fa5eaff8 100644 --- a/pjlib/src/pj/sock_bsd.c +++ b/pjlib/src/pj/sock_bsd.c @@ -361,7 +361,7 @@ PJ_DEF(pj_status_t) pj_inet_ntop(int af, const void *src, #if PJ_NATIVE_STRING_IS_UNICODE rc = WSAAddressToString((LPSOCKADDR)&sock_addr, addr_len, - NULL, wtempaddr, addr_str_len); + NULL, wtempaddr, &addr_str_len); if (rc == 0) { pj_unicode_to_ansi(wtempaddr, wcslen(wtempaddr), dst, size); } |