summaryrefslogtreecommitdiffstats
path: root/src/H5SL.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5SL.c')
-rw-r--r--src/H5SL.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5SL.c b/src/H5SL.c
index fb406db..ab9764e 100644
--- a/src/H5SL.c
+++ b/src/H5SL.c
@@ -352,11 +352,11 @@ done:
PURPOSE
Count the number of objects in a skip list
USAGE
- ssize_t H5SL_count(slist)
+ size_t H5SL_count(slist)
H5SL_t *slist; IN: Pointer to skip list to count
RETURNS
- Returns non-negative on success, negative on failure.
+ Returns number of objects on success, can't fail
DESCRIPTION
Count elements in a skip list.
GLOBAL VARIABLES
@@ -364,7 +364,7 @@ done:
EXAMPLES
REVISION LOG
--------------------------------------------------------------------------*/
-ssize_t
+size_t
H5SL_count(H5SL_t *slist)
{
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5SL_count);