summaryrefslogtreecommitdiff
path: root/src/Selection.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-03-19 20:04:40 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-04-15 19:43:34 -0400
commitc131d277ef061716b97e27cccc094bf1c0ae222f (patch)
tree568a0146a115d187865fc6ad65ec9dfca5ce4de3 /src/Selection.c
parentc66f453b4089b7af7ee14be7c5f817e8dd98be1e (diff)
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 <dickey@invisible-island.net>
Diffstat (limited to 'src/Selection.c')
-rw-r--r--src/Selection.c4
1 files changed, 2 insertions, 2 deletions
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;
}
}