aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-05-23 03:04:22 +0000
committerKarl Heuer1995-05-23 03:04:22 +0000
commita504c8fa20e838fa77866005beb96699e86e152e (patch)
tree3afe2eaca771329b986738caf4018f1347ccaf83
parent7f18598b5f82f208cc340e2dc4c2bbdeb79c9be8 (diff)
downloademacs-a504c8fa20e838fa77866005beb96699e86e152e.tar.gz
emacs-a504c8fa20e838fa77866005beb96699e86e152e.zip
(XlwMenuInitialize): Cast XCreatePixmapFromBitmapData args.
-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)
1086/* mw->menu.cursor = XCreateFontCursor (display, mw->menu.cursor_shape); */ 1086/* mw->menu.cursor = XCreateFontCursor (display, mw->menu.cursor_shape); */
1087 mw->menu.cursor = mw->menu.cursor_shape; 1087 mw->menu.cursor = mw->menu.cursor_shape;
1088 1088
1089 mw->menu.gray_pixmap = XCreatePixmapFromBitmapData (display, window, 1089 mw->menu.gray_pixmap
1090 gray_bits, gray_width, 1090 = XCreatePixmapFromBitmapData (display, window, gray_bits,
1091 gray_height, 1, 0, 1); 1091 gray_width, gray_height,
1092 (unsigned long)1, (unsigned long)0, 1);
1092 1093
1093 /* I don't understand why this ends up 0 sometimes, 1094 /* I don't understand why this ends up 0 sometimes,
1094 but it does. This kludge works around it. 1095 but it does. This kludge works around it.