From c131d277ef061716b97e27cccc094bf1c0ae222f Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Tue, 19 Mar 2019 20:04:40 -0400 Subject: eliminate casts of NULL for String* and Cardinal*, since those are unnecessary as well as interfere with proposed const-string changes. Signed-off-by: Thomas E. Dickey --- src/Selection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Selection.c') diff --git a/src/Selection.c b/src/Selection.c index 97f8232..9af6b08 100644 --- a/src/Selection.c +++ b/src/Selection.c @@ -246,7 +246,7 @@ static void FreeSelectionProperty( XtAppErrorMsg(XtDisplayToApplicationContext(dpy), "noSelectionProperties", "freeSelectionProperty", XtCXtToolkitError, "internal error: no selection property context for display", - (String *)NULL, (Cardinal *)NULL ); + NULL, NULL ); UNLOCK_PROCESS; for (p = sarray->list, propCount=sarray->propCount; propCount; @@ -1268,7 +1268,7 @@ static unsigned long IncrPropSize( XtAppWarningMsg( XtWidgetToApplicationContext(widget), "badFormat","xtGetSelectionValue",XtCXtToolkitError, "Selection owner returned type INCR property with format != 32", - (String*)NULL, (Cardinal*)NULL ); + NULL, NULL ); return 0; } } -- cgit v1.2.3