From 477d12edc4185813e47968010e3dfb147bec2e4b Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Fri, 21 Aug 2009 22:29:58 +0000 Subject: [PATCH] From Corey Stup: when we're declaring stuff for WSAAddressToStringA, we should use the explicitly-narrow type LPSTR, not the switchable type LPTSTR. (Since we currently build without UNICODE this makes no practical difference to us now.) [originally from svn r8627] --- windows/winnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/winnet.c b/windows/winnet.c index a839dfc1..db5f54e7 100644 --- a/windows/winnet.c +++ b/windows/winnet.c @@ -204,7 +204,7 @@ DECL_WINSOCK_FUNCTION(static, int, getnameinfo, DECL_WINSOCK_FUNCTION(static, char *, gai_strerror, (int ecode)); DECL_WINSOCK_FUNCTION(static, int, WSAAddressToStringA, (LPSOCKADDR, DWORD, LPWSAPROTOCOL_INFO, - LPTSTR, LPDWORD)); + LPSTR, LPDWORD)); #endif static HMODULE winsock_module = NULL;