From: Adrian Robert Date: Sat, 4 Oct 2008 01:20:43 +0000 (+0000) Subject: * menu.c (find_and_return_menu_selection) Add cast. X-Git-Tag: emacs-pretest-23.0.90~2660 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2da2fd38fb081840c78bd634aba8df0e4b30a779;p=emacs.git * menu.c (find_and_return_menu_selection) Add cast. --- diff --git a/src/menu.c b/src/menu.c index 056fd77824b..f29339db639 100644 --- a/src/menu.c +++ b/src/menu.c @@ -1005,7 +1005,7 @@ find_and_return_menu_selection (FRAME_PTR f, int keymaps, void *client_data) { entry = XVECTOR (menu_items)->contents[i + MENU_ITEMS_ITEM_VALUE]; - if ((int) (EMACS_INT)client_data == &XVECTOR (menu_items)->contents[i]/*i*/) + if ((int) (EMACS_INT)client_data == (int)(&XVECTOR (menu_items)->contents[i])) { if (keymaps != 0) {