diff options
author | YAMAMOTO Mitsuharu <[email protected]> | 2008-08-29 08:18:22 +0000 |
---|---|---|
committer | YAMAMOTO Mitsuharu <[email protected]> | 2008-08-29 08:18:22 +0000 |
commit | 82f9c4e86e37a03e915225543ead081961605946 (patch) | |
tree | b5c1777ed4a33dbb10355f6b342d445e8b60c177 /src | |
parent | 3576897ae4c5c27ea0796af57ad3b86e081f2fe2 (diff) |
[HAVE_DIALOGS] (mac_dialog_show): Cast to pointer-size
integer before casting to pointer.
Diffstat (limited to 'src')
-rw-r--r-- | src/macmenu.c | 2 |
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; |