diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-08 15:01:20 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-08 15:01:20 (GMT) |
commit | 10f4d4565dc1c86e6b26623c99d5709cac033f0f (patch) | |
tree | 2d02f6f002a36e9c48040d79092747aa92f77957 /win/tclWinThrd.c | |
parent | fa28b1f243cc546f139050545122af9cc297d0b7 (diff) | |
download | tcl-10f4d4565dc1c86e6b26623c99d5709cac033f0f.zip tcl-10f4d4565dc1c86e6b26623c99d5709cac033f0f.tar.gz tcl-10f4d4565dc1c86e6b26623c99d5709cac033f0f.tar.bz2 |
More -Wconversion warning fixes
Diffstat (limited to 'win/tclWinThrd.c')
-rw-r--r-- | win/tclWinThrd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tclWinThrd.c b/win/tclWinThrd.c index 841a854..0195895 100644 --- a/win/tclWinThrd.c +++ b/win/tclWinThrd.c @@ -203,7 +203,7 @@ int TclpThreadCreate( Tcl_ThreadId *idPtr, /* Return, the ID of the thread. */ Tcl_ThreadCreateProc *proc, /* Main() function of the thread. */ - ClientData clientData, /* The one argument to Main(). */ + void *clientData, /* The one argument to Main(). */ size_t stackSize, /* Size of stack for the new thread. */ int flags) /* Flags controlling behaviour of the new * thread. */ @@ -535,7 +535,7 @@ TclFinalizeLock(void) #if TCL_THREADS /* locally used prototype */ -static void FinalizeConditionEvent(ClientData data); +static void FinalizeConditionEvent(void *data); /* *---------------------------------------------------------------------- @@ -725,7 +725,7 @@ Tcl_ConditionWait( if (timePtr == NULL) { wtime = INFINITE; } else { - wtime = timePtr->sec * 1000 + timePtr->usec / 1000; + wtime = (DWORD)timePtr->sec * 1000 + (unsigned long)timePtr->usec / 1000; } /* @@ -880,7 +880,7 @@ Tcl_ConditionNotify( static void FinalizeConditionEvent( - ClientData data) + void *data) { ThreadSpecificData *tsdPtr = (ThreadSpecificData *) data; |