summaryrefslogtreecommitdiffstats
path: root/tools/test/h5ls
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-11-26 23:23:58 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:24 (GMT)
commit9d8fb46a2c50118ee5162e2437d55bef100da20d (patch)
treea5cd736b43628131503daa906f7c054443eab911 /tools/test/h5ls
parentf2028c7568c2ad8ef91bc78cc8dac9b2d8c8eb1d (diff)
downloadhdf5-9d8fb46a2c50118ee5162e2437d55bef100da20d.zip
hdf5-9d8fb46a2c50118ee5162e2437d55bef100da20d.tar.gz
hdf5-9d8fb46a2c50118ee5162e2437d55bef100da20d.tar.bz2
Revert "fix issues from previous PR comments"
This reverts commit d242a900f420b040e364f6c0976c01593e955db3.
Diffstat (limited to 'tools/test/h5ls')
-rw-r--r--tools/test/h5ls/dynlib_ls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/test/h5ls/dynlib_ls.c b/tools/test/h5ls/dynlib_ls.c
index 089b78f..4f2d435 100644
--- a/tools/test/h5ls/dynlib_ls.c
+++ b/tools/test/h5ls/dynlib_ls.c
@@ -16,7 +16,6 @@
#include <stdlib.h>
#include <stdio.h>
#include "H5PLextern.h"
-#include "H5private.h"
#define H5Z_FILTER_DYNLIBUD 300
#define MULTIPLIER 3
@@ -70,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;
- ASSIGN_TO_SMALLER_SIZE(*int_ptr, char, temp - MULTIPLIER, int);
+ *int_ptr = (char)(temp - MULTIPLIER);
int_ptr++;
buf_left -= sizeof(*int_ptr);
} /* end while */