From: jacob Date: Fri, 21 Aug 2009 22:29:58 +0000 (+0000) Subject: From Corey Stup: when we're declaring stuff for WSAAddressToStringA, we should X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/6acea9a62669bfaa56dbea9a0b15c921eaff4d01 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.) git-svn-id: svn://svn.tartarus.org/sgt/putty@8627 cda61777-01e9-0310-a592-d414129be87e --- 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;