diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-01-13 10:44:25 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-01-13 10:44:25 (GMT) |
commit | f468073bd58f767b9bb06328e889f32297a7da71 (patch) | |
tree | ba50ed26977f71912fb0085559bce34165b7f3f2 /unix/tclUnixThrd.c | |
parent | 2d27c96b7eebdceae93e88adf3ca88ebbc6efab5 (diff) | |
parent | 997e0f35053f350509dbfe16b32af27264622c5e (diff) | |
download | tcl-f468073bd58f767b9bb06328e889f32297a7da71.zip tcl-f468073bd58f767b9bb06328e889f32297a7da71.tar.gz tcl-f468073bd58f767b9bb06328e889f32297a7da71.tar.bz2 |
Merge 8.6
Diffstat (limited to 'unix/tclUnixThrd.c')
-rw-r--r-- | unix/tclUnixThrd.c | 4 |
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; |