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/hyperslab.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/hyperslab.c')
-rw-r--r-- | test/hyperslab.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/hyperslab.c b/test/hyperslab.c index 1f57e3b..1c55259 100644 --- a/test/hyperslab.c +++ b/test/hyperslab.c @@ -585,10 +585,10 @@ test_multifill(size_t nx) for (i = 0; i < nx; i++) { src[i].left = 1111111; - src[i].mid = 12345.6789F; + src[i].mid = 12345.6789; src[i].right = 2222222; dst[i].left = 3333333; - dst[i].mid = 98765.4321F; + dst[i].mid = 98765.4321; dst[i].right = 4444444; } /* end for */ @@ -597,7 +597,7 @@ test_multifill(size_t nx) * over and over again. */ fill.left = 55555555; - fill.mid = 3.1415927F; + fill.mid = 3.1415927; fill.right = 66666666; src_stride = 0; |