summaryrefslogtreecommitdiffstats
path: root/win/tclWinThrd.c
diff options
context:
space:
mode:
authormdejong <mdejong>2001-09-07 18:57:19 (GMT)
committermdejong <mdejong>2001-09-07 18:57:19 (GMT)
commitd1ab1f627e09aad62ab1ce608e6af582258bc19b (patch)
tree0ca7f92729ec168fc50bb3c4fbace6437a586e59 /win/tclWinThrd.c
parent9c129407152d9ea9c27de684ccf0b63a5960daf1 (diff)
downloadtcl-d1ab1f627e09aad62ab1ce608e6af582258bc19b.zip
tcl-d1ab1f627e09aad62ab1ce608e6af582258bc19b.tar.gz
tcl-d1ab1f627e09aad62ab1ce608e6af582258bc19b.tar.bz2
* win/tclWinThrd.c (TclpThreadExit): Cast status argument to
_endthreadex to unsigned instead of DWORD to match the Win32 function prototype.
Diffstat (limited to 'win/tclWinThrd.c')
-rw-r--r--win/tclWinThrd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinThrd.c b/win/tclWinThrd.c
index b806630..e25b145 100644
--- a/win/tclWinThrd.c
+++ b/win/tclWinThrd.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinThrd.c,v 1.17 2001/09/05 00:32:31 davygrvy Exp $
+ * RCS: @(#) $Id: tclWinThrd.c,v 1.18 2001/09/07 18:57:20 mdejong Exp $
*/
#include "tclWinInt.h"
@@ -213,7 +213,7 @@ TclpThreadExit(status)
LeaveCriticalSection(&joinLock);
#if defined(__MSVCRT__) || defined(__BORLANDC__)
- _endthreadex((DWORD)status);
+ _endthreadex((unsigned) status);
#else
ExitThread((DWORD) status);
#endif