summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixThrd.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-13 10:44:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-13 10:44:25 (GMT)
commitf468073bd58f767b9bb06328e889f32297a7da71 (patch)
treeba50ed26977f71912fb0085559bce34165b7f3f2 /unix/tclUnixThrd.c
parent2d27c96b7eebdceae93e88adf3ca88ebbc6efab5 (diff)
parent997e0f35053f350509dbfe16b32af27264622c5e (diff)
downloadtcl-f468073bd58f767b9bb06328e889f32297a7da71.zip
tcl-f468073bd58f767b9bb06328e889f32297a7da71.tar.gz
tcl-f468073bd58f767b9bb06328e889f32297a7da71.tar.bz2
Merge 8.6
Diffstat (limited to 'unix/tclUnixThrd.c')
-rw-r--r--unix/tclUnixThrd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c
index 35eca8d..054a5d2 100644
--- a/unix/tclUnixThrd.c
+++ b/unix/tclUnixThrd.c
@@ -266,9 +266,9 @@ TclpThreadCreate(
}
if (pthread_create(&theThread, &attr,
- (void * (*)(void *)) proc, (void *) clientData) &&
+ (void * (*)(void *))(void *)proc, (void *) clientData) &&
pthread_create(&theThread, NULL,
- (void * (*)(void *)) proc, (void *) clientData)) {
+ (void * (*)(void *))(void *)proc, (void *) clientData)) {
result = TCL_ERROR;
} else {
*idPtr = (Tcl_ThreadId) theThread;