summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-15 19:38:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-15 19:38:45 (GMT)
commit7829f617b9899043b912c6b64ce33aeaf5b155f4 (patch)
tree02308f1a57024a039f52c305d7b0a3be69d2ba73 /generic/tclThreadTest.c
parent76fcfb3c70d9a6411dcd9d612a78cb5873ac28d8 (diff)
parent511765faae09dd5a56da42a2df297514cff7df3e (diff)
downloadtcl-7829f617b9899043b912c6b64ce33aeaf5b155f4.zip
tcl-7829f617b9899043b912c6b64ce33aeaf5b155f4.tar.gz
tcl-7829f617b9899043b912c6b64ce33aeaf5b155f4.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclThreadTest.c')
-rw-r--r--generic/tclThreadTest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclThreadTest.c b/generic/tclThreadTest.c
index bf78c27..db4ee0d 100644
--- a/generic/tclThreadTest.c
+++ b/generic/tclThreadTest.c
@@ -508,7 +508,7 @@ ThreadCreate(
joinable = joinable ? TCL_THREAD_JOINABLE : TCL_THREAD_NOFLAGS;
Tcl_MutexLock(&threadMutex);
- if (Tcl_CreateThread(&id, NewTestThread, (ClientData) &ctrl,
+ if (Tcl_CreateThread(&id, NewTestThread, &ctrl,
TCL_THREAD_STACK_DEFAULT, joinable) != TCL_OK) {
Tcl_MutexUnlock(&threadMutex);
Tcl_AppendResult(interp, "can't create a new thread", NULL);