diff options
Diffstat (limited to 'tools/lib/h5tools.c')
-rw-r--r-- | tools/lib/h5tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c index 013cecf..362b070 100644 --- a/tools/lib/h5tools.c +++ b/tools/lib/h5tools.c @@ -1434,7 +1434,7 @@ int render_bin_output(FILE *stream, hid_t tid, void *_mem) } else { - s = mem; + s = (char *)mem; size = H5Tget_size(tid); } for (i=0; i<size && (s[i] || pad!=H5T_STR_NULLTERM); i++) |