summaryrefslogtreecommitdiffstats
path: root/win/tkWinKey.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-13 21:51:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-13 21:51:23 (GMT)
commit8ef38a7e1335498220c1dad6109c3f035f878ffa (patch)
treee9c2b607fa747c61a49074514454eb483ac3ea93 /win/tkWinKey.c
parentb8d8c08583edeba5c3f7b6bce2e13c60c2323c47 (diff)
parent52482ab5023994148201c6b4e71c40b62809b205 (diff)
downloadtk-8ef38a7e1335498220c1dad6109c3f035f878ffa.zip
tk-8ef38a7e1335498220c1dad6109c3f035f878ffa.tar.gz
tk-8ef38a7e1335498220c1dad6109c3f035f878ffa.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tkWinKey.c')
-rw-r--r--win/tkWinKey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinKey.c b/win/tkWinKey.c
index dae3ed3..522bfba 100644
--- a/win/tkWinKey.c
+++ b/win/tkWinKey.c
@@ -328,7 +328,7 @@ KeycodeToKeysym(
*/
skipToAscii:
- if (keycode < 0 || keycode > MAX_KEYCODE) {
+ if (keycode > MAX_KEYCODE) {
return NoSymbol;
}
switch (keycode) {