summaryrefslogtreecommitdiff
path: root/time64.c
diff options
context:
space:
mode:
Diffstat (limited to 'time64.c')
-rw-r--r--time64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time64.c b/time64.c
index ca31acf0ad..1d43f39717 100644
--- a/time64.c
+++ b/time64.c
@@ -377,7 +377,7 @@ static struct TM *S_gmtime64_r (const Time64_T *in_time, struct TM *p)
time = time >= 0 ? floor(time / 60.0) : ceil(time / 60.0);
v_tm_hour = (int)fmod(time, 24.0);
time = time >= 0 ? floor(time / 24.0) : ceil(time / 24.0);
- v_tm_tday = (int)time;
+ v_tm_tday = time;
WRAP (v_tm_sec, v_tm_min, 60);
WRAP (v_tm_min, v_tm_hour, 60);