diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-03-19 20:04:40 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-04-15 19:43:34 -0400 |
commit | c131d277ef061716b97e27cccc094bf1c0ae222f (patch) | |
tree | 568a0146a115d187865fc6ad65ec9dfca5ce4de3 /src/Popup.c | |
parent | c66f453b4089b7af7ee14be7c5f817e8dd98be1e (diff) | |
download | xorg-lib-libXt-c131d277ef061716b97e27cccc094bf1c0ae222f.tar.gz |
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/Popup.c')
-rw-r--r-- | src/Popup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Popup.c b/src/Popup.c index 3f4554b..acf3633 100644 --- a/src/Popup.c +++ b/src/Popup.c @@ -62,7 +62,7 @@ void _XtPopup( XtAppErrorMsg(XtWidgetToApplicationContext(widget), "invalidClass","xtPopup",XtCXtToolkitError, "XtPopup requires a subclass of shellWidgetClass", - (String *)NULL, (Cardinal *)NULL); + NULL, NULL); } if (! shell_widget->shell.popped_up) { @@ -102,7 +102,7 @@ void XtPopup (Widget widget, XtGrabKind grab_kind) XtWidgetToApplicationContext(widget), "invalidGrabKind","xtPopup",XtCXtToolkitError, "grab kind argument has invalid value; XtGrabNone assumed", - (String *)NULL, (Cardinal *)NULL); + NULL, NULL); grab_kind = XtGrabNone; } @@ -152,7 +152,7 @@ void XtPopdown( XtAppErrorMsg(XtWidgetToApplicationContext(widget), "invalidClass","xtPopdown",XtCXtToolkitError, "XtPopdown requires a subclass of shellWidgetClass", - (String *)NULL, (Cardinal *)NULL); + NULL, NULL); } #ifndef X_NO_XT_POPDOWN_CONFORMANCE |