summaryrefslogtreecommitdiffstats
path: root/hl/test/test_dset_opt.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-05-25 10:45:53 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2017-05-25 10:45:53 (GMT)
commit946fd98b8d5b653b89cfdce279195810f389dedf (patch)
tree6d66fbbc5154e74473cda94b8247464c2325423d /hl/test/test_dset_opt.c
parent710ed6d10a965346ff6e41cc075587c8cf91f08c (diff)
downloadhdf5-946fd98b8d5b653b89cfdce279195810f389dedf.zip
hdf5-946fd98b8d5b653b89cfdce279195810f389dedf.tar.gz
hdf5-946fd98b8d5b653b89cfdce279195810f389dedf.tar.bz2
Fixed many minor warnings.
Diffstat (limited to 'hl/test/test_dset_opt.c')
-rw-r--r--hl/test/test_dset_opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/test/test_dset_opt.c b/hl/test/test_dset_opt.c
index 4b5fa19..383a87a 100644
--- a/hl/test/test_dset_opt.c
+++ b/hl/test/test_dset_opt.c
@@ -47,7 +47,7 @@
#define CHUNK_NX 4
#define CHUNK_NY 4
-#define DEFLATE_SIZE_ADJUST(s) (ceil(((double)(s))*1.001)+12)
+#define DEFLATE_SIZE_ADJUST(s) (HDceil(((double)(s))*H5_DOUBLE(1.001))+H5_DOUBLE(12.0))
/* Temporary filter IDs used for testing */
#define H5Z_FILTER_BOGUS1 305