Skip to content

Commit

Permalink
[HAVE_DIALOGS] (mac_dialog_show): Cast to pointer-size
Browse files Browse the repository at this point in the history
integer before casting to pointer.
  • Loading branch information
mituharu committed Aug 29, 2008
1 parent 23df9ee commit b2967f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macmenu.c
Expand Up @@ -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;
Expand Down

0 comments on commit b2967f5

Please sign in to comment.