summaryrefslogtreecommitdiffstats
path: root/test/tattr.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-01-23 18:18:04 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:31:52 (GMT)
commit40c5e67e418e01de3edd046e61481aeae4d18ad2 (patch)
treeff53d9fcd99af16f4d4c62d4338ffb3f85fecf1a /test/tattr.c
parent2c520b2ba606569de76fc9515f4e723a241c4b3c (diff)
downloadhdf5-40c5e67e418e01de3edd046e61481aeae4d18ad2.zip
hdf5-40c5e67e418e01de3edd046e61481aeae4d18ad2.tar.gz
hdf5-40c5e67e418e01de3edd046e61481aeae4d18ad2.tar.bz2
Moved -Wunsuffixed-float-constants to the developer warnings.
Diffstat (limited to 'test/tattr.c')
-rw-r--r--test/tattr.c4
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);