mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-21 19:15:49 +00:00
sizeof style
SCCS-file: difftime.c SCCS-SID: 7.8
This commit is contained in:
committed by
Paul Eggert
parent
846872c18a
commit
64f57f8d6a
@ -32,9 +32,9 @@ const time_t time0;
|
||||
time_t delta;
|
||||
time_t hibit;
|
||||
|
||||
if (sizeof(time_t) < sizeof(double))
|
||||
if (sizeof time_t < sizeof double)
|
||||
return (double) time1 - (double) time0;
|
||||
if (sizeof(time_t) < sizeof(long_double))
|
||||
if (sizeof time_t < sizeof long_double)
|
||||
return (long_double) time1 - (long_double) time0;
|
||||
if (time1 < time0)
|
||||
return -difftime(time0, time1);
|
||||
|
||||
Reference in New Issue
Block a user