summaryrefslogtreecommitdiffstats
path: root/test/tattr.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-01-23 22:35:16 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:31:52 (GMT)
commit36647e79b95b03f1e2096b86e5d7d51854312eab (patch)
tree148486c89ab71820cd17e02f0138ba3e4bdaf665 /test/tattr.c
parent40c5e67e418e01de3edd046e61481aeae4d18ad2 (diff)
downloadhdf5-36647e79b95b03f1e2096b86e5d7d51854312eab.zip
hdf5-36647e79b95b03f1e2096b86e5d7d51854312eab.tar.gz
hdf5-36647e79b95b03f1e2096b86e5d7d51854312eab.tar.bz2
Revert "Moved -Wunsuffixed-float-constants to the developer warnings."
This reverts commit 12bc75c6172ca7b64c33b17cf538a7629500cf2f.
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 dab03a7..bcd8698 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, 0.0))
+ if(!H5_DBL_ABS_EQUAL(rdata, H5_DOUBLE(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, 0.0))
+ if(!H5_DBL_ABS_EQUAL(rdata, H5_DOUBLE(0.0)))
TestErrPrintf("attribute value wrong: rdata=%f, should be %f\n",rdata,(double)0.0F);
ret=H5Awrite(att, H5T_NATIVE_DOUBLE, &wdata);