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 /test/set_extent.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 'test/set_extent.c')
-rw-r--r-- | test/set_extent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/set_extent.c b/test/set_extent.c index 156dd19..3078c2d 100644 --- a/test/set_extent.c +++ b/test/set_extent.c @@ -134,11 +134,11 @@ main(void) TEST_ERROR /* Set chunk cache so only part of the chunks can be cached on fapl */ - if (H5Pset_cache(fapl, 0, (size_t)8, 256 * sizeof(int), 0.75F) < 0) + if (H5Pset_cache(fapl, 0, (size_t)8, 256 * sizeof(int), 0.75) < 0) TEST_ERROR /* Disable chunk caching on fapl2 */ - if (H5Pset_cache(fapl2, 0, (size_t)0, (size_t)0, 0.0F) < 0) + if (H5Pset_cache(fapl2, 0, (size_t)0, (size_t)0, 0.0) < 0) TEST_ERROR /* Set the "use the latest version of the format" bounds for creating objects in the file */ |