diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-10-17 13:09:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-17 13:09:14 (GMT) |
commit | 81af7d7f3a1ae148bf0816fb275e1a2365ab9deb (patch) | |
tree | 7cdb157c688cf313c3008c7e7b82861f7aade51c /test/objcopy.c | |
parent | d1dd4a424685200b382185736e3435a6ae8e5505 (diff) | |
download | hdf5-81af7d7f3a1ae148bf0816fb275e1a2365ab9deb.zip hdf5-81af7d7f3a1ae148bf0816fb275e1a2365ab9deb.tar.gz hdf5-81af7d7f3a1ae148bf0816fb275e1a2365ab9deb.tar.bz2 |
1 12 Merge Remove clang warnings from develop (#1097)
* Merge Remove clang warnings from develop
* Correct test data typo
Diffstat (limited to 'test/objcopy.c')
-rw-r--r-- | test/objcopy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/objcopy.c b/test/objcopy.c index e01083d..9aae621 100644 --- a/test/objcopy.c +++ b/test/objcopy.c @@ -11092,7 +11092,7 @@ test_copy_dataset_contig_cmpd_vl(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, buf[i].b.p = (int *)HDmalloc(buf[i].b.len * sizeof(int)); for (j = 0; j < buf[i].b.len; j++) ((int *)buf[i].b.p)[j] = (int)(i * 10 + j); - buf[i].c = 1.0F / ((float)i + 1.0F); + buf[i].c = 1.0 / ((double)i + 1.0); } /* end for */ /* Initialize the filenames */ @@ -11268,7 +11268,7 @@ test_copy_dataset_chunked_cmpd_vl(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl buf[i].b.p = (int *)HDmalloc(buf[i].b.len * sizeof(int)); for (j = 0; j < buf[i].b.len; j++) ((int *)buf[i].b.p)[j] = (int)(i * 10 + j); - buf[i].c = 1.0F / ((float)i + 1.0F); + buf[i].c = 1.0 / ((double)i + 1.0); } /* end for */ /* Initialize the filenames */ @@ -11453,7 +11453,7 @@ test_copy_dataset_compact_cmpd_vl(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl buf[i].b.p = (int *)HDmalloc(buf[i].b.len * sizeof(int)); for (j = 0; j < buf[i].b.len; j++) ((int *)buf[i].b.p)[j] = (int)(i * 10 + j); - buf[i].c = 1.0F / ((float)i + 1.0F); + buf[i].c = 1.0 / ((double)i + 1.0); } /* end for */ /* Initialize the filenames */ |