sizeof style

SCCS-file: difftime.c
SCCS-SID: 7.8
This commit is contained in:
Arthur David Olson
2012-07-18 03:02:38 -04:00
committed by Paul Eggert
parent 846872c18a
commit 64f57f8d6a
+2 -2
View File
@@ -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);