summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2023-11-12 14:24:55 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2023-11-12 14:55:49 -0500
commita1ccbde53f96442d2421ad0bcdc25f1615b62786 (patch)
tree475a8eafe1ee302f8ac9c73f68db934d6cc8adfd
parent2a8924da5a32bd80369578257fb633f26964423e (diff)
eliminate an unnecessary cast
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r--src/Selection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Selection.c b/src/Selection.c
index 1821cb4..18e2441 100644
--- a/src/Selection.c
+++ b/src/Selection.c
@@ -1171,7 +1171,7 @@ ReqTimedOut(XtPointer closure, XtIntervalId *id _X_UNUSED)
}
/* change event handlers for straggler events */
- if (info->proc == (XtEventHandler) HandleSelectionReplies) {
+ if (info->proc == HandleSelectionReplies) {
XtRemoveEventHandler(info->widget, (EventMask) 0,
TRUE, info->proc, (XtPointer) info);
XtAddEventHandler(info->widget, (EventMask) 0, TRUE,