diff options
author | Quincey Koziol <koziol@koziol.gov> | 2020-01-04 16:05:22 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@koziol.gov> | 2020-01-04 16:05:22 (GMT) |
commit | 9a155a538bb179c794c75780757ef3e6af3c9b28 (patch) | |
tree | 771322bef14326f5bbd8e1cb9b261baf0b22faff /tools/lib/h5tools.c | |
parent | 617e2166b26f6b872281888c4f9f2486004a1a58 (diff) | |
download | hdf5-9a155a538bb179c794c75780757ef3e6af3c9b28.zip hdf5-9a155a538bb179c794c75780757ef3e6af3c9b28.tar.gz hdf5-9a155a538bb179c794c75780757ef3e6af3c9b28.tar.bz2 |
Cherry pick of 0225e6d5969
Diffstat (limited to 'tools/lib/h5tools.c')
-rw-r--r-- | tools/lib/h5tools.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c index 727e493..d015e1c 100644 --- a/tools/lib/h5tools.c +++ b/tools/lib/h5tools.c @@ -1816,10 +1816,10 @@ h5tools_is_zero(const void *_mem, size_t size) */ hbool_t h5tools_is_obj_same(hid_t loc_id1, const char *name1, - hid_t loc_id2, const char *name2) + hid_t loc_id2, const char *name2) { H5O_info_t oinfo1, oinfo2; - hbool_t ret_val = 0; + hbool_t ret_val = FALSE; if ( name1 && HDstrcmp(name1, ".")) H5Oget_info_by_name2(loc_id1, name1, &oinfo1, H5O_INFO_BASIC, H5P_DEFAULT); @@ -1832,7 +1832,7 @@ h5tools_is_obj_same(hid_t loc_id1, const char *name1, H5Oget_info2(loc_id2, &oinfo2, H5O_INFO_BASIC); if (oinfo1.fileno == oinfo2.fileno && oinfo1.addr==oinfo2.addr) - ret_val = 1; + ret_val = TRUE; return ret_val; } |