mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 20:12:48 -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:
@ -204,7 +204,7 @@ DECL_WINSOCK_FUNCTION(static, int, getnameinfo,
|
|||||||
DECL_WINSOCK_FUNCTION(static, char *, gai_strerror, (int ecode));
|
DECL_WINSOCK_FUNCTION(static, char *, gai_strerror, (int ecode));
|
||||||
DECL_WINSOCK_FUNCTION(static, int, WSAAddressToStringA,
|
DECL_WINSOCK_FUNCTION(static, int, WSAAddressToStringA,
|
||||||
(LPSOCKADDR, DWORD, LPWSAPROTOCOL_INFO,
|
(LPSOCKADDR, DWORD, LPWSAPROTOCOL_INFO,
|
||||||
LPTSTR, LPDWORD));
|
LPSTR, LPDWORD));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static HMODULE winsock_module = NULL;
|
static HMODULE winsock_module = NULL;
|
||||||
|
Reference in New Issue
Block a user