diff options
Diffstat (limited to 'CarpetDev/CarpetIOF5/src/attributes.cc')
-rw-r--r-- | CarpetDev/CarpetIOF5/src/attributes.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CarpetDev/CarpetIOF5/src/attributes.cc b/CarpetDev/CarpetIOF5/src/attributes.cc index ff237534a..bed4617d9 100644 --- a/CarpetDev/CarpetIOF5/src/attributes.cc +++ b/CarpetDev/CarpetIOF5/src/attributes.cc @@ -231,7 +231,7 @@ namespace CarpetIOF5 { hid_t const attribute = FAILWARN(H5Aopen_name(group, name)); hid_t const datatype = FAILWARN(H5Aget_type(attribute)); - hsize_t const size = FAILWARN(H5Tget_size(datatype)); + hsize_t const size = FAILWARN0(H5Tget_size(datatype)); char buf[size+1]; hid_t const memdatatype = FAILWARN(H5Tcopy(H5T_C_S1)); FAILWARN(H5Tset_size(memdatatype, size)); |