1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-12-07 04:32:50 +00:00

DBL/FLT fix

SCCS-file: localtime.c
SCCS-SID: 7.88
This commit is contained in:
Arthur David Olson
2005-01-13 09:44:57 -05:00
committed by Paul Eggert
parent 9505b0cecb
commit 099c63b5c1

View File

@ -1522,8 +1522,8 @@ const int do_norm_secs;
hi = lo - 1;
} else if (!TYPE_INTEGRAL(time_t)) {
if (sizeof(time_t) > sizeof(float))
hi = (time_t) FLT_MAX;
else hi = (time_t) DBL_MAX;
hi = (time_t) DBL_MAX;
else hi = (time_t) FLT_MAX;
lo = -hi;
} else {
register int i;