aboutsummaryrefslogtreecommitdiffstats
path: root/src/macmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/macmenu.c')
-rw-r--r--src/macmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macmenu.c b/src/macmenu.c
index 153969f7ef..1482febac6 100644
--- a/src/macmenu.c
+++ b/src/macmenu.c
@@ -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;