summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog6
-rw-r--r--win/tclWinThrd.c4
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 <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