summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixThrd.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-13 10:00:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-13 10:00:03 (GMT)
commitf3070aa2fc9c742281213b21139e15bc9516c018 (patch)
treeb19e68bb345641d2758331c1a62f597d2010cc9a /unix/tclUnixThrd.c
parentd1f6dc44aae5f6e19c8acafcfd9fbb2998589f73 (diff)
downloadtcl-f3070aa2fc9c742281213b21139e15bc9516c018.zip
tcl-f3070aa2fc9c742281213b21139e15bc9516c018.tar.gz
tcl-f3070aa2fc9c742281213b21139e15bc9516c018.tar.bz2
Silence some gcc-9 compiler warnings.
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 0609230..ef8e737 100644
--- a/unix/tclUnixThrd.c
+++ b/unix/tclUnixThrd.c
@@ -119,9 +119,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;