summaryrefslogtreecommitdiffstats
path: root/tools/test/h5ls
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-11-26 23:24:48 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:24 (GMT)
commitfb8f955a73a41de8fa457424c4622f6dc072f53d (patch)
treed5211375925133398e500dc157819b289b737566 /tools/test/h5ls
parent3e4a99d17dcf2ed3df324513114fed58fe9272c6 (diff)
downloadhdf5-fb8f955a73a41de8fa457424c4622f6dc072f53d.zip
hdf5-fb8f955a73a41de8fa457424c4622f6dc072f53d.tar.gz
hdf5-fb8f955a73a41de8fa457424c4622f6dc072f53d.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 */