summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-05-07 19:39:26 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-05-07 19:39:26 (GMT)
commitfb3e6b4d8c475e6bcd05c8b111c135e196c25e3c (patch)
treef563dbe2a751c29550001d843b16a2dccbb8e868 /src/H5G.c
parent6a500a69cfa3461cb0bdeab83b289effddddd79c (diff)
downloadhdf5-fb3e6b4d8c475e6bcd05c8b111c135e196c25e3c.zip
hdf5-fb3e6b4d8c475e6bcd05c8b111c135e196c25e3c.tar.gz
hdf5-fb3e6b4d8c475e6bcd05c8b111c135e196c25e3c.tar.bz2
[svn-r10737] Purpose:
Code cleanup Description: Clean up some compiler warnings Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5G.c b/src/H5G.c
index f75932a..44e23a4 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -1741,7 +1741,7 @@ H5G_mkroot (H5F_t *f, hid_t dxpl_id, H5G_entry_t *ent)
if (!ent) {
ent = &new_root;
HDmemset(ent, 0, sizeof(H5G_entry_t));
- if (H5G_stab_create (f, dxpl_id, H5G_SIZE_HINT, ent/*out*/)<0)
+ if (H5G_stab_create (f, dxpl_id, (size_t)H5G_SIZE_HINT, ent/*out*/)<0)
HGOTO_ERROR (H5E_SYM, H5E_CANTINIT, FAIL, "unable to create root group");
if (1 != H5O_link (ent, 1, dxpl_id))
HGOTO_ERROR (H5E_SYM, H5E_LINK, FAIL, "internal error (wrong link count)");