User: james
Date: 06/06/19 20:49:26
Modified: xemacs/src ChangeLog frame-x.c
Log:
Quiet GCC 4 sentinel warnings. <m3mzc9oubl.fsf(a)jerrypc.cs.usu.edu>
Revision Changes Path
1.977 +5 -0 XEmacs/xemacs/src/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.976
retrieving revision 1.977
diff -u -p -r1.976 -r1.977
--- ChangeLog 2006/06/19 18:19:35 1.976
+++ ChangeLog 2006/06/19 18:49:21 1.977
@@ -1,3 +1,8 @@
+2006-06-19 Jerry James <james(a)xemacs.org>
+
+ * frame-x.c (x_set_frame_properties): Remove casts to silence GCC
+ warnings about a missing sentinel.
+
2006-06-16 Jerry James <james(a)xemacs.org>
* dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
1.75 +3 -3 XEmacs/xemacs/src/frame-x.c
Index: frame-x.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/frame-x.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -p -r1.74 -r1.75
--- frame-x.c 2006/05/22 22:07:07 1.74
+++ frame-x.c 2006/06/19 18:49:23 1.75
@@ -783,12 +783,12 @@ x_set_frame_properties (struct frame *f,
/* !!#### Verify this + 1 and document
as zero-termination */
XtRString, extval, extvallen + 1,
- (XtArgVal) NULL);
+ NULL);
}
else
XtVaSetValues (w, XtVaTypedArg, extprop, XtRInt,
XINT (val), sizeof (int),
- (XtArgVal) NULL);
+ NULL);
}
else if (SYMBOLP (prop))
{
@@ -887,7 +887,7 @@ x_set_frame_properties (struct frame *f,
/* !!#### Verify this + 1 and document
as zero-termination */
XtRString, extval, extvallen + 1,
- (XtArgVal) NULL);
+ NULL);
}
#ifdef HAVE_SCROLLBARS
Show replies by date