# HG changeset patch # User Karl Heuer # Date 801198262 0 # Node ID c686f5539749af125342e04973c99060c613826e # Parent 13f0227c7c5608f45796e506f8beaa99ff84117e (XlwMenuInitialize): Cast XCreatePixmapFromBitmapData args. diff -r 13f0227c7c56 -r c686f5539749 lwlib/xlwmenu.c --- a/lwlib/xlwmenu.c Tue May 23 03:04:03 1995 +0000 +++ b/lwlib/xlwmenu.c Tue May 23 03:04:22 1995 +0000 @@ -1086,9 +1086,10 @@ /* 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.