]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
From Corey Stup: when we're declaring stuff for WSAAddressToStringA, we should
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Fri, 21 Aug 2009 22:29:58 +0000 (22:29 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Fri, 21 Aug 2009 22:29:58 +0000 (22:29 +0000)
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

index a839dfc1f69e4edd8321463ff9fc9a58032d9cbc..db5f54e70d28449bf4b5139a7bac4e53f9848842 100644 (file)
@@ -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;