summaryrefslogtreecommitdiff
path: root/src/TextPop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/TextPop.c')
-rw-r--r--src/TextPop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TextPop.c b/src/TextPop.c
index 499c340..766000c 100644
--- a/src/TextPop.c
+++ b/src/TextPop.c
@@ -676,7 +676,7 @@ AddSearchChildren(Widget form, String ptr, Widget tw)
XtSetArg(args[num_args], XtNfromVert, search->label2); num_args++;
XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++;
XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++;
- XtSetArg(args[num_args], XtNradioData, (XPointer)XawsdLeft + R_OFFSET);
+ XtSetArg(args[num_args], XtNradioData, (XPointer)(XawsdLeft + R_OFFSET));
num_args++;
search->left_toggle = XtCreateManagedWidget("backwards", toggleWidgetClass,
form, args, num_args);
@@ -688,7 +688,7 @@ AddSearchChildren(Widget form, String ptr, Widget tw)
XtSetArg(args[num_args], XtNleft, XtChainLeft); num_args++;
XtSetArg(args[num_args], XtNright, XtChainLeft); num_args++;
XtSetArg(args[num_args], XtNradioGroup, search->left_toggle); num_args++;
- XtSetArg(args[num_args], XtNradioData, (XPointer)XawsdRight + R_OFFSET);
+ XtSetArg(args[num_args], XtNradioData, (XPointer)(XawsdRight + R_OFFSET));
num_args++;
search->right_toggle = XtCreateManagedWidget("forwards", toggleWidgetClass,
form, args, num_args);