diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | win/tclWinThrd.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2001-09-07 Mo DeJong <mdejong@users.sourceforge.net> + + * win/tclWinThrd.c (TclpThreadExit): Cast status argument to + _endthreadex to unsigned instead of DWORD to match the Win32 + function prototype. + 2001-09-06 Andreas Kupries <andreas_kupries@users.sourceforge.net> * All the changes below serve to fix bug [219148] which reports a 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 |