summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-05-10 15:59:13 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-05-10 15:59:13 (GMT)
commit445c805a4cd1222703e0294afa3af9631c7d6c99 (patch)
treefd23d7bd1bc9fa2ed6390483e7d4c926e92582b5 /tools/lib/h5tools.c
parent9d50ed52875549dad6e5253111c0356aca3c2c05 (diff)
downloadhdf5-445c805a4cd1222703e0294afa3af9631c7d6c99.zip
hdf5-445c805a4cd1222703e0294afa3af9631c7d6c99.tar.gz
hdf5-445c805a4cd1222703e0294afa3af9631c7d6c99.tar.bz2
HDFFV-10186 Add endianess to bitfield and fix tests
Diffstat (limited to 'tools/lib/h5tools.c')
-rw-r--r--tools/lib/h5tools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index 2cc02e8..a74fdd2 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -1322,6 +1322,7 @@ render_bin_output(FILE *stream, hid_t container, hid_t tid, void *_mem, hsize_t
case H5T_INTEGER:
case H5T_FLOAT:
case H5T_ENUM:
+ case H5T_BITFIELD:
block_index = block_nelmts * size;
while(block_index > 0) {
size_t bytes_in = 0; /* # of bytes to write */
@@ -1488,7 +1489,6 @@ render_bin_output(FILE *stream, hid_t container, hid_t tid, void *_mem, hsize_t
break;
case H5T_TIME:
- case H5T_BITFIELD:
case H5T_OPAQUE:
for (block_index = 0; block_index < block_nelmts; block_index++) {
mem = ((unsigned char*)_mem) + block_index * size;