summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-05-21 12:18:17 (GMT)
committernijtmans <nijtmans>2010-05-21 12:18:17 (GMT)
commit276adf7159c124d8029445f9f0705293c9e019cf (patch)
treec039072f1625d73a9fe7bb523fc746025a610fbc /win/tclWinConsole.c
parent556b9289fb9f8ac761f4bf245cfd5123b4424a48 (diff)
downloadtcl-276adf7159c124d8029445f9f0705293c9e019cf.zip
tcl-276adf7159c124d8029445f9f0705293c9e019cf.tar.gz
tcl-276adf7159c124d8029445f9f0705293c9e019cf.tar.bz2
installData.tcl: Make sure that copyDir only receives normalized paths.
tclPlatDecls.h: Fix <tchar.h> inclusion for CYGWIN. tclPathObj.c: Fix Tcl_SetStringObj usage for CYGWIN. *.c: Fix various minor other gcc warnings, like signed<->unsigned mismatch.
Diffstat (limited to 'win/tclWinConsole.c')
-rw-r--r--win/tclWinConsole.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c
index 1480199..2b01b0c 100644
--- a/win/tclWinConsole.c
+++ b/win/tclWinConsole.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: tclWinConsole.c,v 1.19 2006/03/27 18:08:51 andreas_kupries Exp $
+ * RCS: @(#) $Id: tclWinConsole.c,v 1.19.8.1 2010/05/21 12:18:17 nijtmans Exp $
*/
#include "tclWinInt.h"
@@ -1187,7 +1187,7 @@ ConsoleReaderThread(
DWORD err;
err = GetLastError();
- if (err == EOF) {
+ if (err == (DWORD)EOF) {
infoPtr->readFlags = CONSOLE_EOF;
}
}