summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-01-28 20:24:49 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-01-28 20:24:49 (GMT)
commit55ac27633ba1984d4296159bf06f562d0adaec61 (patch)
tree96a3cd0deec4a113b915b8c527fd4d410074718c /src/H5G.c
parent9287018553d4bc83c1d7bb7691bb3a501604b942 (diff)
downloadhdf5-55ac27633ba1984d4296159bf06f562d0adaec61.zip
hdf5-55ac27633ba1984d4296159bf06f562d0adaec61.tar.gz
hdf5-55ac27633ba1984d4296159bf06f562d0adaec61.tar.bz2
[svn-r188] Changed hbool_t from an enum to 'int' and removed BTRUE/BFALSE/BFAIL from code.
Changed interface to the H5P..hyperslab functions to 'int' instead of 'size_t'. Cleaned up lots of warnings on IRIX 6.2 platform. Minor other tweaks to get to a mostly clean build on the SGI. It still whines about 'long long' being non-standard and some "pointless comparison of unsigned with 0" but those aren't big problems.
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5G.c b/src/H5G.c
index d8726c0..7e470ae 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -1215,13 +1215,13 @@ H5G_insert(const char *name, H5G_entry_t *ent)
* Make sure the root group exists. Ignore the failure if it's
* because the group already exists.
*/
- update_grp = H5F_addr_eq(&(grp.header),
+ update_grp = (hbool_t)H5F_addr_eq(&(grp.header),
&(ent->file->shared->root_ent->header));
if ((status = H5G_mkroot(ent->file, H5G_SIZE_HINT)) < 0 && -2 != status) {
HRETURN_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "can't create root group");
}
H5ECLEAR;
- if (update_grp)
+ if (update_grp==TRUE)
grp = *(ent->file->shared->root_ent);
/*