diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-07-31 20:18:58 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-07-31 20:18:58 (GMT) |
commit | c8d32112f87e0c79999e33cc40cb411da1642b5c (patch) | |
tree | ac3d1dfffa72156bac18aefbf3b76a255ea06478 /test/mtime.c | |
parent | c1a6ba6b648fe4c42dca2ada0f0e8e2c904e3f9e (diff) | |
download | hdf5-c8d32112f87e0c79999e33cc40cb411da1642b5c.zip hdf5-c8d32112f87e0c79999e33cc40cb411da1642b5c.tar.gz hdf5-c8d32112f87e0c79999e33cc40cb411da1642b5c.tar.bz2 |
HDFFV-10845 More changes from 1.10 branch
Diffstat (limited to 'test/mtime.c')
-rw-r--r-- | test/mtime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mtime.c b/test/mtime.c index 4cf1be3..1928a17 100644 --- a/test/mtime.c +++ b/test/mtime.c @@ -112,7 +112,7 @@ main(void) puts(" Modification times will be mantained in the file but"); puts(" cannot be queried on this system. See H5O_mtime_decode()."); return 0; - } else if(HDfabs(HDdifftime(now, oi1.ctime)) > 60.0F) { + } else if(HDfabs(HDdifftime(now, oi1.ctime)) > (double)60.0F) { H5_FAILED(); tm = HDlocaltime(&(oi1.ctime)); HDstrftime((char*)buf1, sizeof buf1, "%Y-%m-%d %H:%M:%S", tm); @@ -145,7 +145,7 @@ main(void) if(oi1.ctime != MTIME1) { H5_FAILED(); /* If this fails, examine H5Omtime.c. Modification time is very - * system dependant (e.g., on Windows DST must be hardcoded). */ + * system dependent (e.g., on Windows DST must be hardcoded). */ puts(" Old modification time incorrect"); goto error; } |