Mercurial > emacs
comparison src/macmenu.c @ 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 | 07666d9ede23 |
children |
comparison
equal
deleted
inserted
replaced
80769:99dee4fe249c | 80770:a044f4615c60 |
---|---|
1937 prev_wv->next = wv; | 1937 prev_wv->next = wv; |
1938 wv->name = (char *) button_names[nb_buttons]; | 1938 wv->name = (char *) button_names[nb_buttons]; |
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; |
1946 prev_wv = wv; | 1946 prev_wv = wv; |
1947 | 1947 |