summaryrefslogtreecommitdiffstats
path: root/src/H5Gobj.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-12-08 18:34:51 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-12-08 18:34:51 (GMT)
commit88c15b1617872ce1672d7333481a5aa32ee23d5a (patch)
treeb3315150ab77826194626d3cd5cf6481badf83e4 /src/H5Gobj.c
parentbfa65eed0f4f901c14244728ea364966c51e0417 (diff)
downloadhdf5-88c15b1617872ce1672d7333481a5aa32ee23d5a.zip
hdf5-88c15b1617872ce1672d7333481a5aa32ee23d5a.tar.gz
hdf5-88c15b1617872ce1672d7333481a5aa32ee23d5a.tar.bz2
[svn-r11771] Purpose:
Code cleanup Description: Fix a bunch of warnings flagged by Windows compilers. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'src/H5Gobj.c')
-rw-r--r--src/H5Gobj.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Gobj.c b/src/H5Gobj.c
index a178e93..903e7a0 100644
--- a/src/H5Gobj.c
+++ b/src/H5Gobj.c
@@ -675,7 +675,8 @@ H5G_obj_remove(H5O_loc_t *oloc, const char *name, H5G_obj_t *obj_type, hid_t dxp
udata.heap_addr = stab.heap_addr;
udata.lnk_table = lnk_table;
udata.nlinks = 0;
- udata.max_links = linfo.nlinks;
+ H5_CHECK_OVERFLOW(linfo.nlinks, hsize_t, size_t);
+ udata.max_links = (size_t)linfo.nlinks;
/* Iterate over the group members, building a table of equivalent link messages */
if((ret_value = H5B_iterate(oloc->file, dxpl_id, H5B_SNODE,