summaryrefslogtreecommitdiff
path: root/src/xmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 924db3f0a45..35473f2db0e 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -1131,7 +1131,7 @@ set_frame_menubar (struct frame *f, bool deep_p)
menu item is really supposed to be empty. */
/* The intptr_t cast avoids a warning.
This value just has to be different from small integers. */
- wv->call_data = (void *) (intptr_t) (-1);
+ wv->call_data = (void *) (intptr_t) {-1};
if (prev_wv)
prev_wv->next = wv;