tidying
[users/jgh/exim.git] / src / exim_monitor / em_TextPop.c
index faa51ed896e9e87b54ee20b8d5c37de79e3bb5cd..03f97da52c4abb713681b52ff1985d87e2bcb998 100644 (file)
@@ -468,7 +468,7 @@ struct SearchAndReplace * search;
   text.firstPos = 0;
   text.format = FMT8BIT;
 
-  dir = (XawTextScanDirection)(int) ((caddr_t)XawToggleGetCurrent(search->left_toggle) -
+  dir = (XawTextScanDirection) ((long)XawToggleGetCurrent(search->left_toggle) -
                                R_OFFSET);
 
   pos = XawTextSearch( tw, dir, &text);