summaryrefslogtreecommitdiffstats
path: root/test/enc_dec_plist.c
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-08-25 04:05:23 (GMT)
committerGitHub <noreply@github.com>2021-08-25 04:05:23 (GMT)
commit131402a92de9bbd5df60d5859c37c4820c60d6b9 (patch)
tree06e3f4cd947ece0c9d65e82020a7b993c1ce2848 /test/enc_dec_plist.c
parente9765e6c09de2e278e2821faef656b6d61854196 (diff)
downloadhdf5-131402a92de9bbd5df60d5859c37c4820c60d6b9.zip
hdf5-131402a92de9bbd5df60d5859c37c4820c60d6b9.tar.gz
hdf5-131402a92de9bbd5df60d5859c37c4820c60d6b9.tar.bz2
More various warnings (#958)
* Committing clang-format changes * Fixed various -Wdouble-promotion warnings * Fixed -Wshadow warning for `optopt` conflict On macOS at least, there is a global various named `optopt` in unistd.h. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/enc_dec_plist.c')
-rw-r--r--test/enc_dec_plist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/enc_dec_plist.c b/test/enc_dec_plist.c
index 9b4879e..60b229a 100644
--- a/test/enc_dec_plist.c
+++ b/test/enc_dec_plist.c
@@ -350,7 +350,7 @@ main(void)
TESTING("DXPL Encoding/Decoding");
- if ((H5Pset_btree_ratios(dxpl, 0.2f, 0.6f, 0.2f)) < 0)
+ if ((H5Pset_btree_ratios(dxpl, 0.2, 0.6, 0.2)) < 0)
FAIL_STACK_ERROR
if ((H5Pset_hyper_vector_size(dxpl, 5)) < 0)
FAIL_STACK_ERROR
@@ -544,7 +544,7 @@ main(void)
FAIL_STACK_ERROR
if ((H5Pset_alignment(fapl, 2, 1024)) < 0)
FAIL_STACK_ERROR
- if ((H5Pset_cache(fapl, 1024, 128, 10485760, 0.3f)) < 0)
+ if ((H5Pset_cache(fapl, 1024, 128, 10485760, 0.3)) < 0)
FAIL_STACK_ERROR
if ((H5Pset_elink_file_cache_size(fapl, 10485760)) < 0)
FAIL_STACK_ERROR