summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-11-07 02:48:39 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-11-07 02:48:39 (GMT)
commitdb3632444bbbba2fdbe60516c89fb83ee4892c23 (patch)
tree7b26450a065fd1852d818401dac62b14ffd36446 /src
parent8e0a4a03c0a7923057eeb2b8b2ac16338fc87e76 (diff)
downloadhdf5-db3632444bbbba2fdbe60516c89fb83ee4892c23.zip
hdf5-db3632444bbbba2fdbe60516c89fb83ee4892c23.tar.gz
hdf5-db3632444bbbba2fdbe60516c89fb83ee4892c23.tar.bz2
[svn-r12871] Description:
Clean up a couple of warnings... Tested on: Linux/64 2.6 (chicago2)
Diffstat (limited to 'src')
-rw-r--r--src/H5Gname.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5Gname.c b/src/H5Gname.c
index d26c74b..944456a 100644
--- a/src/H5Gname.c
+++ b/src/H5Gname.c
@@ -1065,7 +1065,11 @@ H5G_refname_iterator(hid_t group, const char *name, void *_udata)
/* Get information for object in group */
if(H5G_get_objinfo(&loc, name, 0, &sb, udata->dxpl_id) < 0)
HGOTO_ERROR(H5E_ARGS, H5E_CANTINIT, FAIL, "cannot stat object")
+#if H5_SIZEOF_UINT64_T > H5_SIZEOF_LONG
objno = (haddr_t)sb.objno[0] | ((haddr_t)sb.objno[1] << (8 * sizeof(long)));
+#else
+ objno = (haddr_t)sb.objno[0];
+#endif
/* Check for finding the object */
/* (checks against the file in the location as well, to make certain that