summaryrefslogtreecommitdiffstats
path: root/win/tclWinNotify.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-11-18 21:59:49 (GMT)
committernijtmans <nijtmans>2009-11-18 21:59:49 (GMT)
commit22da2964cc80cf1b750e2c467f9b732dc17f682f (patch)
treeddefc8b4f539a5dd99629207908dae49d8e515db /win/tclWinNotify.c
parent1cb4f92988da74c1fbee275ed1a3e70f784fc19f (diff)
downloadtcl-22da2964cc80cf1b750e2c467f9b732dc17f682f.zip
tcl-22da2964cc80cf1b750e2c467f9b732dc17f682f.tar.gz
tcl-22da2964cc80cf1b750e2c467f9b732dc17f682f.tar.bz2
Eliminate various gcc warnings (in -Wextra mode)
Diffstat (limited to 'win/tclWinNotify.c')
-rw-r--r--win/tclWinNotify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinNotify.c b/win/tclWinNotify.c
index 47ad88f..9e0db15 100644
--- a/win/tclWinNotify.c
+++ b/win/tclWinNotify.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinNotify.c,v 1.25 2008/10/26 18:43:27 dkf Exp $
+ * RCS: @(#) $Id: tclWinNotify.c,v 1.26 2009/11/18 21:59:49 nijtmans Exp $
*/
#include "tclInt.h"
@@ -507,7 +507,7 @@ Tcl_WaitForEvent(
PostQuitMessage((int) msg.wParam);
status = -1;
- } else if (result == -1) {
+ } else if (result == (DWORD)-1) {
/*
* We got an error from the system. I have no idea why this
* would happen, so we'll just unwind.