diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-10-27 14:11:07 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-10-27 14:11:07 (GMT) |
commit | 5e84790f06c9ba57b46ec47ef69d59b7ffce6620 (patch) | |
tree | bf0ab53b7f007e581dd482d648d6f6291bae481a /win | |
parent | 7c1caf25df8aaf0f8633aa4e5a07316458ed4be4 (diff) | |
download | tk-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.c | 2 |
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); |