updated for version 7.1-237
diff --git a/src/gui_motif.c b/src/gui_motif.c
index 87a8e42..6060b58 100644
--- a/src/gui_motif.c
+++ b/src/gui_motif.c
@@ -3813,7 +3813,7 @@
 
     XtAddCallback(frdp->find, XmNactivateCallback,
 	    find_replace_callback,
-	    (XtPointer) (do_replace ? FRD_R_FINDNEXT : FRD_FINDNEXT));
+	    (do_replace ? (XtPointer)FRD_R_FINDNEXT : (XtPointer)FRD_FINDNEXT));
 
     if (do_replace)
     {