changeset 3463:3aab51033467

[xemacs-hg @ 2006-06-19 18:49:21 by james] Quiet GCC 4 sentinel warnings. <m3mzc9oubl.fsf@jerrypc.cs.usu.edu>
author james
date Mon, 19 Jun 2006 18:49:23 +0000
parents 6c7605dfcf07
children c74e204866de
files src/ChangeLog src/frame-x.c
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Jun 19 18:19:38 2006 +0000
+++ b/src/ChangeLog	Mon Jun 19 18:49:23 2006 +0000
@@ -1,3 +1,8 @@
+2006-06-19  Jerry James  <james@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@xemacs.org>
 
 	* dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
--- a/src/frame-x.c	Mon Jun 19 18:19:38 2006 +0000
+++ b/src/frame-x.c	Mon Jun 19 18:49:23 2006 +0000
@@ -783,12 +783,12 @@
 			     /* !!#### 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 @@
 			     /* !!#### Verify this + 1 and document
 				as zero-termination */
 			     XtRString, extval, extvallen + 1,
-			     (XtArgVal) NULL);
+			     NULL);
 	    }
 
 #ifdef HAVE_SCROLLBARS