summaryrefslogtreecommitdiffstats
path: root/tools/test/h5ls
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 /tools/test/h5ls
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 'tools/test/h5ls')
-rw-r--r--tools/test/h5ls/dynlib_ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/h5ls/dynlib_ls.c b/tools/test/h5ls/dynlib_ls.c
index 4f2d435..571452e 100644
--- a/tools/test/h5ls/dynlib_ls.c
+++ b/tools/test/h5ls/dynlib_ls.c
@@ -69,7 +69,7 @@ H5Z_filter_dynlibud(unsigned int flags, size_t cd_nelmts,
/* Subtract the original value with MULTIPLIER */
while(buf_left > 0) {
char temp = *int_ptr;
- *int_ptr = (char)(temp - MULTIPLIER);
+ *int_ptr = temp - MULTIPLIER;
int_ptr++;
buf_left -= sizeof(*int_ptr);
} /* end while */
@@ -78,7 +78,7 @@ H5Z_filter_dynlibud(unsigned int flags, size_t cd_nelmts,
/* Add the original value with MULTIPLIER */
while(buf_left > 0) {
char temp = *int_ptr;
- *int_ptr = (char)(temp + MULTIPLIER);
+ *int_ptr = temp + MULTIPLIER;
int_ptr++;
buf_left -= sizeof(*int_ptr);
} /* end while */