diff options
Diffstat (limited to 'tools/lib/h5trav.c')
-rw-r--r-- | tools/lib/h5trav.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5trav.c b/tools/lib/h5trav.c index 58e4b35..dd30cb5 100644 --- a/tools/lib/h5trav.c +++ b/tools/lib/h5trav.c @@ -351,7 +351,7 @@ trav_fileinfo_add(trav_info_t *info, hid_t loc_id) H5O_info_t oinfo; size_t idx = info->nused - 1; - if (info->paths[idx].path && HDstrcmp(info->paths[idx].path, ".")) + if (info->paths[idx].path && HDstrcmp(info->paths[idx].path, ".") != 0) H5Oget_info_by_name2(loc_id, info->paths[idx].path, &oinfo, H5O_INFO_BASIC, H5P_DEFAULT); else H5Oget_info2(loc_id, &oinfo, H5O_INFO_BASIC); @@ -718,7 +718,7 @@ trav_table_addlink(trav_table_t *table, haddr_t objno, const char *path) *------------------------------------------------------------------------- */ void -trav_table_addflags(unsigned *flags, char *name, h5trav_type_t type, trav_table_t *table) +trav_table_addflags(const unsigned *flags, char *name, h5trav_type_t type, trav_table_t *table) { size_t new_obj; |