diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-01-23 22:40:47 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-01-23 22:40:47 (GMT) |
commit | 492d186a5ceb2da47ef952fe52f890dbc4071b20 (patch) | |
tree | 17d0368e7c665d5ceee5d6dbb077679a6d8f125e /test/tattr.c | |
parent | 9a97411a61b886c4f2b5417dce29157a010b47c1 (diff) | |
download | hdf5-492d186a5ceb2da47ef952fe52f890dbc4071b20.zip hdf5-492d186a5ceb2da47ef952fe52f890dbc4071b20.tar.gz hdf5-492d186a5ceb2da47ef952fe52f890dbc4071b20.tar.bz2 |
Revert "Revert "Moved -Wunsuffixed-float-constants to the developer warnings.""
This reverts commit 6486e06545bf637d46e18a787395542f4fca143a.
Diffstat (limited to 'test/tattr.c')
-rw-r--r-- | test/tattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tattr.c b/test/tattr.c index bcd8698..dab03a7 100644 --- a/test/tattr.c +++ b/test/tattr.c @@ -542,7 +542,7 @@ test_attr_flush(hid_t fapl) ret=H5Aread(att, H5T_NATIVE_DOUBLE, &rdata); CHECK(ret, FAIL, "H5Awrite"); - if(!H5_DBL_ABS_EQUAL(rdata, H5_DOUBLE(0.0))) + if(!H5_DBL_ABS_EQUAL(rdata, 0.0)) TestErrPrintf("attribute value wrong: rdata=%f, should be %f\n",rdata,(double)0.0F); ret=H5Fflush(fil, H5F_SCOPE_GLOBAL); @@ -551,7 +551,7 @@ test_attr_flush(hid_t fapl) ret=H5Aread(att, H5T_NATIVE_DOUBLE, &rdata); CHECK(ret, FAIL, "H5Awrite"); - if(!H5_DBL_ABS_EQUAL(rdata, H5_DOUBLE(0.0))) + if(!H5_DBL_ABS_EQUAL(rdata, 0.0)) TestErrPrintf("attribute value wrong: rdata=%f, should be %f\n",rdata,(double)0.0F); ret=H5Awrite(att, H5T_NATIVE_DOUBLE, &wdata); |