From d1ab1f627e09aad62ab1ce608e6af582258bc19b Mon Sep 17 00:00:00 2001 From: mdejong Date: Fri, 7 Sep 2001 18:57:19 +0000 Subject: * win/tclWinThrd.c (TclpThreadExit): Cast status argument to _endthreadex to unsigned instead of DWORD to match the Win32 function prototype. --- ChangeLog | 6 ++++++ win/tclWinThrd.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 38775ec..ad51a8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-09-07 Mo DeJong + + * 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 * 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 -- cgit v0.12