Mercurial > emacs
diff src/menu.c @ 105232:e6976b3d93d5
* menu.c (find_and_return_menu_selection) [HAVE_NS]: Remove double-casting in client_data comparison.
| author | Adrian Robert <Adrian.B.Robert@gmail.com> |
|---|---|
| date | Sun, 27 Sep 2009 16:21:47 +0000 |
| parents | e038c1a8307c |
| children | 68dd71358159 |
line wrap: on
line diff
--- a/src/menu.c Sun Sep 27 16:11:10 2009 +0000 +++ b/src/menu.c Sun Sep 27 16:21:47 2009 +0000 @@ -1005,7 +1005,7 @@ { entry = XVECTOR (menu_items)->contents[i + MENU_ITEMS_ITEM_VALUE]; - if ((int) (EMACS_INT)client_data == (int)(&XVECTOR (menu_items)->contents[i])) + if ((EMACS_INT)client_data == (EMACS_INT)(&XVECTOR (menu_items)->contents[i])) { if (keymaps != 0) { @@ -1025,7 +1025,7 @@ } return Qnil; } -#endif +#endif /* HAVE_NS */ void syms_of_menu ()
