1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-19 14:41:11 -08:00

[HAVE_DIALOGS] (mac_dialog_show): Cast to pointer-size

integer before casting to pointer.
This commit is contained in:
YAMAMOTO Mitsuharu 2008-08-29 08:18:22 +00:00
parent 3576897ae4
commit 82f9c4e86e

View file

@ -1939,7 +1939,7 @@ mac_dialog_show (f, keymaps, title, header, error_name)
if (!NILP (descrip))
wv->key = (char *) SDATA (descrip);
wv->value = (char *) SDATA (item_name);
wv->call_data = (void *) i;
wv->call_data = (void *) (EMACS_INT) i;
/* menu item is identified by its index in menu_items table */
wv->enabled = !NILP (enable);
wv->help = Qnil;