summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-29 13:57:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-29 13:57:30 (GMT)
commit9b3052e4f000498849d0f1e7cdd4b9188819ee86 (patch)
tree7771fbcbfed5b108f1f6d122390a5434df330330 /win
parent4ed38fd424a42ac70925522d6fe3706651181691 (diff)
parentad983c6d746da6b31a177f9137e0f0fd1b4b46f9 (diff)
downloadtcl-9b3052e4f000498849d0f1e7cdd4b9188819ee86.zip
tcl-9b3052e4f000498849d0f1e7cdd4b9188819ee86.tar.gz
tcl-9b3052e4f000498849d0f1e7cdd4b9188819ee86.tar.bz2
Merge 8.7
Diffstat (limited to 'win')
-rw-r--r--win/tclWinThrd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinThrd.c b/win/tclWinThrd.c
index 86db837..b69fbfc 100644
--- a/win/tclWinThrd.c
+++ b/win/tclWinThrd.c
@@ -326,7 +326,7 @@ TclpThreadExit(
Tcl_ThreadId
Tcl_GetCurrentThread(void)
{
- return (Tcl_ThreadId)(size_t)GetCurrentThreadId();
+ return (Tcl_ThreadId)INT2PTR(GetCurrentThreadId());
}
/*