# HG changeset patch # User Adrian Robert # Date 1223083243 0 # Node ID 95d08e34e42ad21cb07442cfd64a10a1df2e6623 # Parent 5ae86f92711d9b94bb6ee95732a32be49fcf18f4 * menu.c (find_and_return_menu_selection) Add cast. diff -r 5ae86f92711d -r 95d08e34e42a src/menu.c --- a/src/menu.c Fri Oct 03 19:09:22 2008 +0000 +++ b/src/menu.c Sat Oct 04 01:20:43 2008 +0000 @@ -1005,7 +1005,7 @@ { 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) {