Mercurial > emacs
changeset 11885:c686f5539749
(XlwMenuInitialize): Cast XCreatePixmapFromBitmapData args.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 23 May 1995 03:04:22 +0000 |
parents | 13f0227c7c56 |
children | c5db1295f7df |
files | lwlib/xlwmenu.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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.