changeset 11884:13f0227c7c56

(create_frame_gcs): Cast args of XCreateGC. (setup_frame_gcs): Cast args of XCreatePixmapFromBitmapData.
author Karl Heuer <kwzh@gnu.org>
date Tue, 23 May 1995 03:04:03 +0000
parents ddc5961c9f36
children c686f5539749
files src/widget.c
diffstat 1 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/widget.c	Tue May 23 03:03:23 1995 +0000
+++ b/src/widget.c	Tue May 23 03:04:03 1995 +0000
@@ -525,14 +525,17 @@
 create_frame_gcs (ew)
      EmacsFrame ew;
 {
-  struct frame* s = ew->emacs_frame.frame;
+  struct frame *s = ew->emacs_frame.frame;
 
   s->display.x->normal_gc =
-    XCreateGC (XtDisplay (ew), RootWindowOfScreen (XtScreen (ew)), 0, 0);
+    XCreateGC (XtDisplay (ew), RootWindowOfScreen (XtScreen (ew)),
+	       (unsigned long)0, (XGCValues *)0);
   s->display.x->reverse_gc =
-    XCreateGC (XtDisplay (ew), RootWindowOfScreen (XtScreen (ew)), 0, 0);
+    XCreateGC (XtDisplay (ew), RootWindowOfScreen (XtScreen (ew)),
+	       (unsigned long)0, (XGCValues *)0);
   s->display.x->cursor_gc =
-    XCreateGC (XtDisplay (ew), RootWindowOfScreen (XtScreen (ew)), 0, 0);
+    XCreateGC (XtDisplay (ew), RootWindowOfScreen (XtScreen (ew)),
+	       (unsigned long)0, (XGCValues *)0);
 }
 
 static char setup_frame_cursor_bits[] =
@@ -570,7 +573,8 @@
   blank_tile =
     XCreatePixmapFromBitmapData (XtDisplay(ew),
 				 RootWindowOfScreen (XtScreen (ew)),
-				 setup_frame_cursor_bits, 2, 2, 0, 1,
+				 setup_frame_cursor_bits, 2, 2,
+				 (unsigned long)0, (unsigned long)1,
 				 ew->core.depth);
 
   /* Normal video */