summaryrefslogtreecommitdiffstats
path: root/test/filter_fail.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-29 19:33:46 (GMT)
committerGitHub <noreply@github.com>2023-06-29 19:33:46 (GMT)
commit39e6bf48c92dda00057e2e19cdeed93f5a07b3c8 (patch)
tree7596e876fd008f38830d04591d49a0328208b0d1 /test/filter_fail.c
parentfd933f30b1f8cd487ad790ac0b054bb779280a62 (diff)
downloadhdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.zip
hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.tar.gz
hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.tar.bz2
Remove HD from HDmem* calls (#3211)
Diffstat (limited to 'test/filter_fail.c')
-rw-r--r--test/filter_fail.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/filter_fail.c b/test/filter_fail.c
index 4215342..0044cf9 100644
--- a/test/filter_fail.c
+++ b/test/filter_fail.c
@@ -257,7 +257,7 @@ test_filter_read(char *file_name, hid_t my_fapl)
TEST_ERROR;
/* Read the chunks */
- HDmemset(rbuf, 0, DIM * sizeof(int));
+ memset(rbuf, 0, DIM * sizeof(int));
if (H5Dread(dataset, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, H5P_DEFAULT, rbuf) < 0)
TEST_ERROR;
@@ -284,8 +284,8 @@ test_filter_read(char *file_name, hid_t my_fapl)
if ((sid = H5Dget_space(dataset)) < 0)
TEST_ERROR;
- HDmemset(hs_offset, 0, sizeof(hs_offset));
- HDmemset(hs_size, 0, sizeof(hs_size));
+ memset(hs_offset, 0, sizeof(hs_offset));
+ memset(hs_size, 0, sizeof(hs_size));
hs_size[0] = DIM / 2;
if (H5Sselect_hyperslab(sid, H5S_SELECT_SET, hs_offset, stride, hs_size, NULL) < 0)
@@ -295,12 +295,12 @@ test_filter_read(char *file_name, hid_t my_fapl)
if ((mspace = H5Screate_simple(1, dims, NULL)) < 0)
TEST_ERROR;
- HDmemset(zero, 0, sizeof zero);
+ memset(zero, 0, sizeof zero);
if (H5Sselect_hyperslab(mspace, H5S_SELECT_SET, zero, stride, &nelmts, NULL) < 0)
TEST_ERROR;
- HDmemset(rbuf, 0, DIM * sizeof(int));
+ memset(rbuf, 0, DIM * sizeof(int));
if (H5Dread(dataset, H5T_NATIVE_INT, H5S_ALL, sid, H5P_DEFAULT, rbuf) < 0)
TEST_ERROR;