From bd3565d4487bf3b20d2cdd16b762f8561ffc9d1e Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Fri, 6 Feb 2009 11:31:33 -0500 Subject: [svn-r16450] bug fix: compare the return value of H5Tequal with TRUE tested: h5committest --- tools/h5ls/h5ls.c | 4 ++-- 1 file 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", -- cgit v0.12