summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-19 15:24:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-19 15:24:11 (GMT)
commit39795a1da493f0ea91a228e768c0c656156ab340 (patch)
treeb9ccfdf216258033ab3a597869c0fe2aeb57ae54 /win/tclWinSock.c
parent52f7f8443ded7a957803e75eea737fdaf04234db (diff)
parent3147adf34639c8a4c2aa49422c70fafb3b59c722 (diff)
downloadtcl-39795a1da493f0ea91a228e768c0c656156ab340.zip
tcl-39795a1da493f0ea91a228e768c0c656156ab340.tar.gz
tcl-39795a1da493f0ea91a228e768c0c656156ab340.tar.bz2
Merge 8.6
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index 8c12796..de59941 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -3245,14 +3245,14 @@ SocketProc(
TcpFdList *fds = NULL;
ThreadSpecificData *tsdPtr = (ThreadSpecificData *)
#ifdef _WIN64
- GetWindowLongPtr(hwnd, GWLP_USERDATA);
+ GetWindowLongPtrW(hwnd, GWLP_USERDATA);
#else
GetWindowLong(hwnd, GWL_USERDATA);
#endif
switch (message) {
default:
- return DefWindowProc(hwnd, message, wParam, lParam);
+ return DefWindowProcW(hwnd, message, wParam, lParam);
break;
case WM_CREATE: