mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
Fix reference type comparison in h5dump
This commit is contained in:
parent
c13078a0ed
commit
0beba4aac2
@ -2345,9 +2345,13 @@ h5tools_print_datatype(FILE *stream, h5tools_str_t *buffer, const h5tool_format_
|
||||
if (H5Tequal(type, H5T_STD_REF_DSETREG) == TRUE) {
|
||||
h5tools_str_append(buffer, " { H5T_STD_REF_DSETREG }");
|
||||
}
|
||||
else {
|
||||
else if (H5Tequal(type, H5T_STD_REF_OBJ) == TRUE) {
|
||||
h5tools_str_append(buffer, " { H5T_STD_REF_OBJECT }");
|
||||
}
|
||||
else if (H5Tequal(type, H5T_STD_REF) == TRUE) {
|
||||
h5tools_str_append(buffer, " { H5T_STD_REF }");
|
||||
} else
|
||||
h5tools_str_append(buffer, " { UNDEFINED }");
|
||||
break;
|
||||
|
||||
case H5T_ENUM:
|
||||
|
Loading…
Reference in New Issue
Block a user