diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-01-06 12:05:41 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-01-06 12:05:41 (GMT) |
commit | d4fdc9c04aac351aaf0439c12b5ccf4edd6dc1ce (patch) | |
tree | 10742cd310c8a19cb2a3f607bc4f0203d1cfa3c3 /unix/tkUnixKey.c | |
parent | 67bffc15aeaa3d59587bbb081d9190f62c70490a (diff) | |
download | tk-d4fdc9c04aac351aaf0439c12b5ccf4edd6dc1ce.zip tk-d4fdc9c04aac351aaf0439c12b5ccf4edd6dc1ce.tar.gz tk-d4fdc9c04aac351aaf0439c12b5ccf4edd6dc1ce.tar.bz2 |
Make install-sh executable. Harmless warnings in tkUnixKey.c
Diffstat (limited to 'unix/tkUnixKey.c')
-rw-r--r-- | unix/tkUnixKey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixKey.c b/unix/tkUnixKey.c index 75d5f6c..1bfbf26 100644 --- a/unix/tkUnixKey.c +++ b/unix/tkUnixKey.c @@ -279,9 +279,9 @@ TkpSetKeycodeAndState( mincode = 0; maxcode = -1; XDisplayKeycodes(dispPtr->display, &mincode, &maxcode); - if (keycode < mincode) { + if (keycode < (KeyCode)mincode) { keycode = mincode; - } else if (keycode > maxcode) { + } else if (keycode > (KeyCode)maxcode) { keycode = maxcode; } |