From a504c8fa20e838fa77866005beb96699e86e152e Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 23 May 1995 03:04:22 +0000 Subject: [PATCH] (XlwMenuInitialize): Cast XCreatePixmapFromBitmapData args. --- lwlib/xlwmenu.c | 7 ++++--- 1 file 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. -- 2.39.2