diff options
author | Sean McBride <sean@rogue-research.com> | 2021-08-25 04:05:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-25 04:05:23 (GMT) |
commit | 131402a92de9bbd5df60d5859c37c4820c60d6b9 (patch) | |
tree | 06e3f4cd947ece0c9d65e82020a7b993c1ce2848 /src/H5Pdxpl.c | |
parent | e9765e6c09de2e278e2821faef656b6d61854196 (diff) | |
download | hdf5-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 'src/H5Pdxpl.c')
-rw-r--r-- | src/H5Pdxpl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Pdxpl.c b/src/H5Pdxpl.c index 5f83a1d..a0c38f8 100644 --- a/src/H5Pdxpl.c +++ b/src/H5Pdxpl.c @@ -68,7 +68,7 @@ #define H5D_XFER_BTREE_SPLIT_RATIO_SIZE sizeof(double[3]) #define H5D_XFER_BTREE_SPLIT_RATIO_DEF \ { \ - 0.1f, 0.5f, 0.9f \ + 0.1, 0.5, 0.9 \ } #define H5D_XFER_BTREE_SPLIT_RATIO_ENC H5P__dxfr_btree_split_ratio_enc #define H5D_XFER_BTREE_SPLIT_RATIO_DEC H5P__dxfr_btree_split_ratio_dec |