summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-05-23 03:04:22 +0000
committerKarl Heuer <kwzh@gnu.org>1995-05-23 03:04:22 +0000
commitcfce2a6e11c33affa6f66912c59903155e542f6d (patch)
tree876701b60759c653a50f81554f14af5d54ded6c2 /lwlib
parent8fa0538981808c570e74335a53d97c25089270c7 (diff)
downloademacs-cfce2a6e11c33affa6f66912c59903155e542f6d.tar.gz
(XlwMenuInitialize): Cast XCreatePixmapFromBitmapData args.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/xlwmenu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c
index 7a4eb338062..8ed2974003d 100644
--- a/lwlib/xlwmenu.c
+++ b/lwlib/xlwmenu.c
@@ -1086,9 +1086,10 @@ XlwMenuInitialize (request, mw, args, num_args)
/* mw->menu.cursor = XCreateFontCursor (display, mw->menu.cursor_shape); */
mw->menu.cursor = mw->menu.cursor_shape;
- mw->menu.gray_pixmap = XCreatePixmapFromBitmapData (display, window,
- gray_bits, gray_width,
- gray_height, 1, 0, 1);
+ mw->menu.gray_pixmap
+ = XCreatePixmapFromBitmapData (display, window, gray_bits,
+ gray_width, gray_height,
+ (unsigned long)1, (unsigned long)0, 1);
/* I don't understand why this ends up 0 sometimes,
but it does. This kludge works around it.