summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index 4bfb2df955..8e055b837d 100644
--- a/time.c
+++ b/time.c
@@ -755,7 +755,7 @@ rb_time_unmagnify_to_float(wideval_t w)
if (c * b == a) {
return DBL2NUM((double)c);
}
- v = DBL2NUM(FIXWV2WINT(w));
+ v = DBL2NUM((double)FIXWV2WINT(w));
return quo(v, DBL2NUM(TIME_SCALE));
}
#endif