summaryrefslogtreecommitdiff
path: root/src/NextEvent.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/NextEvent.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/NextEvent.c')
-rw-r--r--src/NextEvent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/NextEvent.c b/src/NextEvent.c
index 68c2e88..824429c 100644
--- a/src/NextEvent.c
+++ b/src/NextEvent.c
@@ -995,7 +995,7 @@ XtInputId XtAppAddInput(
condition & (unsigned long)(~(XtInputReadMask|XtInputWriteMask|XtInputExceptMask)))
XtAppErrorMsg(app,"invalidParameter","xtAddInput",XtCXtToolkitError,
"invalid condition passed to XtAppAddInput",
- (String *)NULL, (Cardinal *)NULL);
+ NULL, NULL);
if (app->input_max <= source) {
Cardinal n = (Cardinal) (source + 1);
@@ -1095,7 +1095,7 @@ void XtRemoveInput(
XtAppWarningMsg(app, "invalidProcedure","inputHandler",
XtCXtToolkitError,
"XtRemoveInput: Input handler not found",
- (String *)NULL, (Cardinal *)NULL);
+ NULL, NULL);
UNLOCK_APP(app);
}