changeset 98494:95d08e34e42a

* menu.c (find_and_return_menu_selection) Add cast.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Sat, 04 Oct 2008 01:20:43 +0000
parents 5ae86f92711d
children e8a025cdac4a
files src/menu.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)
                 {