diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-13 17:59:20 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-12-13 17:59:20 (GMT) |
commit | 4ab00a3d1d2265c12f50507348efd9e233d83df8 (patch) | |
tree | 76dfa33f64140077921b48ef45166ccb8ff5d506 /tools | |
parent | f57907d22ce9828c71c33110cd398d7b521567de (diff) | |
download | hdf5-4ab00a3d1d2265c12f50507348efd9e233d83df8.zip hdf5-4ab00a3d1d2265c12f50507348efd9e233d83df8.tar.gz hdf5-4ab00a3d1d2265c12f50507348efd9e233d83df8.tar.bz2 |
Correct struct access
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lib/h5tools_dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c index 13432b1..2d20f53 100644 --- a/tools/lib/h5tools_dump.c +++ b/tools/lib/h5tools_dump.c @@ -4030,7 +4030,7 @@ h5tools_dump_data(FILE *stream, const h5tool_format_t *info, h5tools_context_t * h5tools_render_element(stream, &outputformat, ctx, &buffer, &curr_pos, (size_t)ncols, (hsize_t)0, (hsize_t)0); if (H5Tget_class(f_type) == H5T_REFERENCE) { - datactx->indent_level++; + datactx.indent_level++; H5TOOLS_DEBUG(H5E_tools_min_dbg_id_g, "reference class type"); if (!H5Tequal(f_type, H5T_STD_REF) && !H5Tequal(f_type, H5T_STD_REF_DSETREG) && !H5Tequal(f_type, H5T_STD_REF_OBJ)) { HGOTO_DONE(SUCCEED); @@ -4263,7 +4263,7 @@ h5tools_dump_data(FILE *stream, const h5tool_format_t *info, h5tools_context_t * } /* end for(i = 0; i < ndims; i++, datactx->cur_elmt++, elmt_counter++) */ HDfree(ref_buf); } - datactx->indent_level--; + datactx.indent_level--; } else { H5TOOLS_DEBUG(H5E_tools_min_dbg_id_g, "Print all the values"); |