mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-23 16:20:57 +08:00
[svn-r1301]
fixed the number of parameters to h5dump_fixtype.
This commit is contained in:
parent
c1bcb2f367
commit
2ce9e72bfb
@ -1098,7 +1098,7 @@ list_attr (hid_t obj, const char *attr_name, void UNUSED *op_data)
|
||||
info.line_pre = " %s \"";
|
||||
info.line_suf = "\"";
|
||||
}
|
||||
if ((p_type=h5dump_fixtype(type,FALSE))>=0) {
|
||||
if ((p_type=h5dump_fixtype(type))>=0) {
|
||||
need = nelmts * MAX(H5Tget_size(type), H5Tget_size(p_type));
|
||||
buf = malloc(need);
|
||||
assert(buf);
|
||||
|
Loading…
Reference in New Issue
Block a user