]> git.eshelyaron.com Git - emacs.git/commitdiff
(XlwMenuInitialize): Cast XCreatePixmapFromBitmapData args.
authorKarl Heuer <kwzh@gnu.org>
Tue, 23 May 1995 03:04:22 +0000 (03:04 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 23 May 1995 03:04:22 +0000 (03:04 +0000)
lwlib/xlwmenu.c

index 7a4eb3380625cdae3502aeb004eeb8b7be852a16..8ed2974003d9e2519b5c295f5a88d77cb4dcff8a 100644 (file)
@@ -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.