diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-02-06 16:21:30 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2009-02-06 16:21:30 (GMT) |
commit | 7418c063568d22fab2d34bd07664da60f44cdf98 (patch) | |
tree | 03bed79a71373f30e9bd72d1cbc501d7e026165b /tools | |
parent | b99ed1e18fab02174ae07e4108e12b71e04cc9a7 (diff) | |
download | hdf5-7418c063568d22fab2d34bd07664da60f44cdf98.zip hdf5-7418c063568d22fab2d34bd07664da60f44cdf98.tar.gz hdf5-7418c063568d22fab2d34bd07664da60f44cdf98.tar.bz2 |
[svn-r16449] bug fix: compare the return value of H5Tequal with TRUE
tested: h5committest
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5ls/h5ls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c index d0af4bb..0c492d0 100644 --- a/tools/h5ls/h5ls.c +++ b/tools/h5ls/h5ls.c @@ -952,9 +952,9 @@ display_reference_type(hid_t type, int UNUSED ind) { if (H5T_REFERENCE!=H5Tget_class(type)) return FALSE; - if (H5Tequal(type, H5T_STD_REF_OBJ)) { + if (H5Tequal(type, H5T_STD_REF_OBJ)==TRUE) { printf("object reference"); - } else if (H5Tequal(type, H5T_STD_REF_DSETREG)) { + } else if (H5Tequal(type, H5T_STD_REF_DSETREG)==TRUE) { printf("dataset region reference"); } else { printf("%lu-byte unknown reference", |