summaryrefslogtreecommitdiffstats
path: root/test/ntypes.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-12-06 20:12:57 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:25 (GMT)
commit271bce5b10017010e861835e5d3d1137a7fb6df4 (patch)
tree2880328a49f8371d0aad354503c71ec8319c89d5 /test/ntypes.c
parent1d46e823172046f259eb054370ea721eacad79b1 (diff)
downloadhdf5-271bce5b10017010e861835e5d3d1137a7fb6df4.zip
hdf5-271bce5b10017010e861835e5d3d1137a7fb6df4.tar.gz
hdf5-271bce5b10017010e861835e5d3d1137a7fb6df4.tar.bz2
remove unnecessary check macro
Diffstat (limited to 'test/ntypes.c')
-rw-r--r--test/ntypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ntypes.c b/test/ntypes.c
index 82da8ce..f1d2449 100644
--- a/test/ntypes.c
+++ b/test/ntypes.c
@@ -2484,7 +2484,7 @@ test_opaque_dtype(hid_t file)
TEST_ERROR;
for(i = 0; i < sizeof(wbuf); i++)
- H5_CHECKED_ASSIGN(wbuf[i], uint8_t, 0xff ^ i, size_t);
+ wbuf[i] = (unsigned char)(0xff ^ i);
if(H5Dwrite(dset, type, H5S_ALL, H5S_ALL, H5P_DEFAULT, wbuf) < 0) TEST_ERROR;
if(H5Sclose(space) < 0) TEST_ERROR;