diff options
author | mdejong <mdejong@noemail.net> | 2001-09-07 18:57:19 (GMT) |
---|---|---|
committer | mdejong <mdejong@noemail.net> | 2001-09-07 18:57:19 (GMT) |
commit | dd2b351c66ca1be15246c4d14166bd05a5ae4e1b (patch) | |
tree | 0ca7f92729ec168fc50bb3c4fbace6437a586e59 /win/tclWinThrd.c | |
parent | 4dbc4ebad9b7cacc532f3e3195211cd7f36b7ceb (diff) | |
download | tcl-dd2b351c66ca1be15246c4d14166bd05a5ae4e1b.zip tcl-dd2b351c66ca1be15246c4d14166bd05a5ae4e1b.tar.gz tcl-dd2b351c66ca1be15246c4d14166bd05a5ae4e1b.tar.bz2 |
* win/tclWinThrd.c (TclpThreadExit): Cast status argument to
_endthreadex to unsigned instead of DWORD to match the Win32
function prototype.
FossilOrigin-Name: 3c678e5d93611c4266b329551191c8f87a600f13
Diffstat (limited to 'win/tclWinThrd.c')
-rw-r--r-- | win/tclWinThrd.c | 4 |
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 |