diff options
Diffstat (limited to 'src/H5Sselect.c')
-rw-r--r-- | src/H5Sselect.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Sselect.c b/src/H5Sselect.c index e770d3a..7bc4d19 100644 --- a/src/H5Sselect.c +++ b/src/H5Sselect.c @@ -708,7 +708,7 @@ done: PURPOSE Get the number of elements in current selection USAGE - hsize_t H5Sget_select_npoints(dsid) + hssize_t H5Sget_select_npoints(dsid) hid_t dsid; IN: Dataspace ID of selection to query RETURNS The number of elements in selection on success, 0 on failure @@ -719,11 +719,11 @@ done: EXAMPLES REVISION LOG --------------------------------------------------------------------------*/ -hsize_t +hssize_t H5Sget_select_npoints(hid_t spaceid) { H5S_t *space = NULL; /* Dataspace to modify selection of */ - hsize_t ret_value=0; /* return value */ + hssize_t ret_value=FAIL; /* return value */ FUNC_ENTER (H5Sget_select_npoints, 0); H5TRACE1("h","i",spaceid); @@ -756,10 +756,10 @@ H5Sget_select_npoints(hid_t spaceid) EXAMPLES REVISION LOG --------------------------------------------------------------------------*/ -hsize_t +hssize_t H5S_get_select_npoints (const H5S_t *space) { - hsize_t ret_value=FAIL; /* return value */ + hssize_t ret_value=FAIL; /* return value */ FUNC_ENTER (H5S_get_select_npoints, FAIL); |