menu: CK_* constants are signed.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2020-03-14 13:04:31 +03:00
parent 946e8d4888
commit 2f22ce9434
1 changed files with 2 additions and 2 deletions

View File

@ -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);