summaryrefslogtreecommitdiff
path: root/Clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'Clock.c')
-rw-r--r--Clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Clock.c b/Clock.c
index bbfed20..64284bf 100644
--- a/Clock.c
+++ b/Clock.c
@@ -2173,7 +2173,7 @@ SetValues(Widget gcurrent, Widget grequest, Widget gnew,
if (new->clock.update && XtIsRealized( (Widget) new))
new->clock.interval_id = XtAppAddTimeOut(
XtWidgetToApplicationContext(gnew),
- abs(new->clock.update)*1000,
+ fabsf(new->clock.update)*1000,
clock_tic, (XtPointer)gnew);
new->clock.show_second_hand =(abs(new->clock.update) <= SECOND_HAND_TIME);