From 2da2fd38fb081840c78bd634aba8df0e4b30a779 Mon Sep 17 00:00:00 2001 From: Adrian Robert Date: Sat, 4 Oct 2008 01:20:43 +0000 Subject: [PATCH] * menu.c (find_and_return_menu_selection) Add cast. --- src/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5