summaryrefslogtreecommitdiffstats
path: root/test/ntypes.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-11-26 23:24:48 (GMT)
committerkmu <kmu@hdfgroup.org>2019-11-26 23:24:48 (GMT)
commite0262c8bedf0e59b7b32b02ecd91ed50cf834a1c (patch)
treeb4605ad55c3c2b82218a915fc2322d0f75a4f880 /test/ntypes.c
parentbfbd613f53af476fd83ac9e2bfb5855e659eef65 (diff)
downloadhdf5-e0262c8bedf0e59b7b32b02ecd91ed50cf834a1c.zip
hdf5-e0262c8bedf0e59b7b32b02ecd91ed50cf834a1c.tar.gz
hdf5-e0262c8bedf0e59b7b32b02ecd91ed50cf834a1c.tar.bz2
Revert "fix warnings from Intel compiler"
This reverts commit 8b9338ab57eec0cc8fa5a36c44d7b28e52e9a466.
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 f1d2449..34558f5 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++)
- wbuf[i] = (unsigned char)(0xff ^ i);
+ wbuf[i] = (unsigned char)0xff ^ (unsigned char)i;
if(H5Dwrite(dset, type, H5S_ALL, H5S_ALL, H5P_DEFAULT, wbuf) < 0) TEST_ERROR;
if(H5Sclose(space) < 0) TEST_ERROR;