diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-10-07 11:58:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-10-07 11:58:32 (GMT) |
commit | cc38079bd48dcdb4acf1549563a39e55a0aa8352 (patch) | |
tree | 705e0aa6c090cc08e9ac37ebd8392c2c8e9e5054 /win/tclWinNotify.c | |
parent | 91b97473f6a540005246e11fca267d496c224d80 (diff) | |
download | tcl-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/tclWinNotify.c')
-rw-r--r-- | win/tclWinNotify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinNotify.c b/win/tclWinNotify.c index 0ad9e49..3ac1c6c 100644 --- a/win/tclWinNotify.c +++ b/win/tclWinNotify.c @@ -481,7 +481,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. |