diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-07 02:48:39 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-07 02:48:39 (GMT) |
commit | db3632444bbbba2fdbe60516c89fb83ee4892c23 (patch) | |
tree | 7b26450a065fd1852d818401dac62b14ffd36446 /tools/h5ls | |
parent | 8e0a4a03c0a7923057eeb2b8b2ac16338fc87e76 (diff) | |
download | hdf5-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 'tools/h5ls')
-rw-r--r-- | tools/h5ls/h5ls.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c index e5117dc..46d4bf3 100644 --- a/tools/h5ls/h5ls.c +++ b/tools/h5ls/h5ls.c @@ -161,7 +161,11 @@ sym_insert(H5G_stat_t *sb, const char *name) /* Insert the entry */ n = idtab_g.nobjs++; +#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 idtab_g.obj[n].id = objno; idtab_g.obj[n].name = HDstrdup(name); } |