# HG changeset patch # User james # Date 1150742963 0 # Node ID 3aab51033467c5d29705cc784060f642cea35a3b # Parent 6c7605dfcf073129cc1d5e3d0c528dc883904ba2 [xemacs-hg @ 2006-06-19 18:49:21 by james] Quiet GCC 4 sentinel warnings. diff -r 6c7605dfcf07 -r 3aab51033467 src/ChangeLog --- 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 + + * frame-x.c (x_set_frame_properties): Remove casts to silence GCC + warnings about a missing sentinel. + 2006-06-16 Jerry James * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before diff -r 6c7605dfcf07 -r 3aab51033467 src/frame-x.c --- 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