mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-12 18:13:50 -05:00
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]
This commit is contained in:
parent
7b8c6957d5
commit
477d12edc4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user