summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2001-09-20 18:33:37 (GMT)
committerhobbs <hobbs@noemail.net>2001-09-20 18:33:37 (GMT)
commitdca015259f8282ebe62ecf50781256521a12438a (patch)
tree7547e755dcd2e491a6d1782d74781656e71403a5 /win/tclWinSock.c
parentf5927784ea09ccb409f96d499098c162efae916b (diff)
downloadtcl-dca015259f8282ebe62ecf50781256521a12438a.zip
tcl-dca015259f8282ebe62ecf50781256521a12438a.tar.gz
tcl-dca015259f8282ebe62ecf50781256521a12438a.tar.bz2
win/tclWinSock.c (SocketThread): corrected pointer cast for _WIN64.
FossilOrigin-Name: 42080dd33c08a1e9cfd0fa1aaee7e098c9914c02
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 77b68e8..42f647b 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinSock.c,v 1.20 2001/03/31 05:44:31 hobbs Exp $
+ * RCS: @(#) $Id: tclWinSock.c,v 1.21 2001/09/20 18:33:37 hobbs Exp $
*/
#include "tclWinInt.h"
@@ -2146,7 +2146,7 @@ SocketThread(LPVOID arg)
*/
#ifdef _WIN64
- SetWindowLongPtr(tsdPtr->hwnd, GWLP_USERDATA, (LONG) tsdPtr);
+ SetWindowLongPtr(tsdPtr->hwnd, GWLP_USERDATA, (LONG_PTR) tsdPtr);
#else
SetWindowLong(tsdPtr->hwnd, GWL_USERDATA, (LONG) tsdPtr);
#endif