summaryrefslogtreecommitdiffstats
path: root/src/H5HP.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-05-09 18:18:21 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-05-09 18:18:21 (GMT)
commit7d9c86097afb9a00b8f37503b435091ff5aef07e (patch)
treeb474ad4296036535594f532cf948a20c86ccda98 /src/H5HP.c
parentc390d06017bb7700f116b4d7523d586f5f9e6a9a (diff)
downloadhdf5-7d9c86097afb9a00b8f37503b435091ff5aef07e.zip
hdf5-7d9c86097afb9a00b8f37503b435091ff5aef07e.tar.gz
hdf5-7d9c86097afb9a00b8f37503b435091ff5aef07e.tar.bz2
[svn-r6843] Purpose:
Code cleanup Description: Clean up warnings exposed by compiling on O2K. Also, revert some of Bill and my changes to the H5S_mpi_opt_types_g, etc. and settle them back into their original location. Platforms tested: h5committested.
Diffstat (limited to 'src/H5HP.c')
-rw-r--r--src/H5HP.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5HP.c b/src/H5HP.c
index 325392a..d62bd4e 100644
--- a/src/H5HP.c
+++ b/src/H5HP.c
@@ -432,7 +432,8 @@ H5HP_count(const H5HP_t *heap)
assert(heap->heap[0].obj==NULL);
/* Return the number of objects in the heap */
- ret_value=heap->nobjs;
+ H5_CHECK_OVERFLOW(heap->nobjs,size_t,ssize_t);
+ ret_value=(ssize_t)heap->nobjs;
done:
/* No post-condition check necessary, since heap is constant */