From 82f9c4e86e37a03e915225543ead081961605946 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Fri, 29 Aug 2008 08:18:22 +0000 Subject: [PATCH] [HAVE_DIALOGS] (mac_dialog_show): Cast to pointer-size integer before casting to pointer. --- src/macmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macmenu.c b/src/macmenu.c index 153969f7efd..1482febac6f 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; -- 2.11.4.GIT