summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-10-07 11:58:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-10-07 11:58:32 (GMT)
commitcc38079bd48dcdb4acf1549563a39e55a0aa8352 (patch)
tree705e0aa6c090cc08e9ac37ebd8392c2c8e9e5054 /win/tclWinConsole.c
parent91b97473f6a540005246e11fca267d496c224d80 (diff)
downloadtcl-cc38079bd48dcdb4acf1549563a39e55a0aa8352.zip
tcl-cc38079bd48dcdb4acf1549563a39e55a0aa8352.tar.gz
tcl-cc38079bd48dcdb4acf1549563a39e55a0aa8352.tar.bz2
Fix gcc warnings (discovered with latest mingw, based on gcc 4.6.1)
Diffstat (limited to 'win/tclWinConsole.c')
-rw-r--r--win/tclWinConsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c
index f0dd62c..d036bda 100644
--- a/win/tclWinConsole.c
+++ b/win/tclWinConsole.c
@@ -1151,7 +1151,7 @@ ConsoleReaderThread(LPVOID arg)
DWORD err;
err = GetLastError();
- if (err == EOF) {
+ if (err == (DWORD)EOF) {
infoPtr->readFlags = CONSOLE_EOF;
}
}