Mercurial > emacs
changeset 80770:a044f4615c60
[HAVE_DIALOGS] (mac_dialog_show): Cast to pointer-size
integer before casting to pointer.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Fri, 29 Aug 2008 08:18:22 +0000 |
parents | 99dee4fe249c |
children | aee651d7cdc7 |
files | src/macmenu.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/macmenu.c Fri Aug 29 08:18:07 2008 +0000 +++ b/src/macmenu.c Fri Aug 29 08:18:22 2008 +0000 @@ -1939,7 +1939,7 @@ 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;