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:
parent
3576897ae4
commit
82f9c4e86e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue