From 6acea9a62669bfaa56dbea9a0b15c921eaff4d01 Mon Sep 17 00:00:00 2001 From: jacob 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.) git-svn-id: svn://svn.tartarus.org/sgt/putty@8627 cda61777-01e9-0310-a592-d414129be87e --- 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; -- 2.11.0