mirror of https://github.com/MidnightCommander/mc
menu: CK_* constants are signed.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
946e8d4888
commit
2f22ce9434
|
@ -518,7 +518,7 @@ menubar_try_exec_menu (WMenuBar * menubar, int hotkey)
|
|||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
static cb_ret_t
|
||||
menubar_execute_cmd (WMenuBar * menubar, unsigned long command)
|
||||
menubar_execute_cmd (WMenuBar * menubar, long command)
|
||||
{
|
||||
cb_ret_t ret = MSG_HANDLED;
|
||||
|
||||
|
@ -585,7 +585,7 @@ menubar_execute_cmd (WMenuBar * menubar, unsigned long command)
|
|||
static int
|
||||
menubar_handle_key (WMenuBar * menubar, int key)
|
||||
{
|
||||
unsigned long cmd;
|
||||
long cmd;
|
||||
cb_ret_t ret = MSG_NOT_HANDLED;
|
||||
|
||||
cmd = widget_lookup_key (WIDGET (menubar), key);
|
||||
|
|
Loading…
Reference in New Issue