summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-10-27 14:11:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-10-27 14:11:07 (GMT)
commit5e84790f06c9ba57b46ec47ef69d59b7ffce6620 (patch)
treebf0ab53b7f007e581dd482d648d6f6291bae481a /win
parent7c1caf25df8aaf0f8633aa4e5a07316458ed4be4 (diff)
downloadtk-5e84790f06c9ba57b46ec47ef69d59b7ffce6620.zip
tk-5e84790f06c9ba57b46ec47ef69d59b7ffce6620.tar.gz
tk-5e84790f06c9ba57b46ec47ef69d59b7ffce6620.tar.bz2
tkWinMenu.c: In function ‘TkWinMenuKeyObjCmd’:
tkWinMenu.c:2085:16: warning: result of ‘273 << 29’ requires 39 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=] | (0x111 << 29) | (1 << 30) | (1 << 31)); ^~
Diffstat (limited to 'win')
-rw-r--r--win/tkWinMenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinMenu.c b/win/tkWinMenu.c
index 48bc16b..9a35266 100644
--- a/win/tkWinMenu.c
+++ b/win/tkWinMenu.c
@@ -2074,7 +2074,7 @@ TkWinMenuKeyObjCmd(
scanCode = MapVirtualKey(VK_RMENU, 0);
CallWindowProc(DefWindowProc, Tk_GetHWND(Tk_WindowId(tkwin)),
WM_SYSKEYUP, VK_MENU, (int) (scanCode << 16) | (1 << 24)
- | (0x111 << 29) | (1 << 30) | (1 << 31));
+ | (1 << 29) | (1 << 30) | (1 << 31));
break;
case XK_F10:
scanCode = MapVirtualKey(VK_F10, 0);