diff options
| author | YAMAMOTO Mitsuharu | 2008-08-29 08:18:22 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2008-08-29 08:18:22 +0000 |
| commit | 82f9c4e86e37a03e915225543ead081961605946 (patch) | |
| tree | b5c1777ed4a33dbb10355f6b342d445e8b60c177 | |
| parent | 3576897ae4c5c27ea0796af57ad3b86e081f2fe2 (diff) | |
| download | emacs-82f9c4e86e37a03e915225543ead081961605946.tar.gz emacs-82f9c4e86e37a03e915225543ead081961605946.zip | |
[HAVE_DIALOGS] (mac_dialog_show): Cast to pointer-size
integer before casting to pointer.
| -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 153969f7efd..1482febac6f 100644 --- a/src/macmenu.c +++ b/src/macmenu.c | |||
| @@ -1939,7 +1939,7 @@ mac_dialog_show (f, keymaps, title, header, error_name) | |||
| 1939 | if (!NILP (descrip)) | 1939 | if (!NILP (descrip)) |
| 1940 | wv->key = (char *) SDATA (descrip); | 1940 | wv->key = (char *) SDATA (descrip); |
| 1941 | wv->value = (char *) SDATA (item_name); | 1941 | wv->value = (char *) SDATA (item_name); |
| 1942 | wv->call_data = (void *) i; | 1942 | wv->call_data = (void *) (EMACS_INT) i; |
| 1943 | /* menu item is identified by its index in menu_items table */ | 1943 | /* menu item is identified by its index in menu_items table */ |
| 1944 | wv->enabled = !NILP (enable); | 1944 | wv->enabled = !NILP (enable); |
| 1945 | wv->help = Qnil; | 1945 | wv->help = Qnil; |