summaryrefslogtreecommitdiffstats
path: root/src/H5Sselect.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1998-10-21 05:09:58 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1998-10-21 05:09:58 (GMT)
commitd774cf9daff3f2a09cdfcdc2a1716bebfa3027e0 (patch)
treee26da135cfbf5b4d186f8265f8034edbe968f6c8 /src/H5Sselect.c
parentca9639706e25a27c20a5566af1202205b701653f (diff)
downloadhdf5-d774cf9daff3f2a09cdfcdc2a1716bebfa3027e0.zip
hdf5-d774cf9daff3f2a09cdfcdc2a1716bebfa3027e0.tar.gz
hdf5-d774cf9daff3f2a09cdfcdc2a1716bebfa3027e0.tar.bz2
[svn-r770] H5B.c:
Replaced FAIL with H5B_INS_ERROR in routine H5B_remove_helper. Updated code that calls H5B_remove_helper with the proper code. H5Fmpio.c: Removed a typo. H5Gnode.c: Replaced FAIL with H5B_INS_ERROR in routine H5G_node_remove. H5Odtype.c: Put in proper casting to remove compiler warnings. H5S.c: Replaced FAIL with H5S_NO_CLASS in routine H5Sget_simple_extent_type. H5Sselect.c: Fixed couple typos to remove compiler warnings. Platform tested: O2K.
Diffstat (limited to 'src/H5Sselect.c')
-rw-r--r--src/H5Sselect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Sselect.c b/src/H5Sselect.c
index 3f2493a..8e7383f 100644
--- a/src/H5Sselect.c
+++ b/src/H5Sselect.c
@@ -152,7 +152,7 @@ H5S_select_copy (H5S_t *dst, const H5S_t *src)
break;
}
- FUNC_LEAVE (SUCCEED);
+ FUNC_LEAVE (ret_value);
} /* H5S_select_copy() */
/*--------------------------------------------------------------------------
@@ -759,7 +759,7 @@ H5Sget_select_npoints(hid_t spaceid)
hsize_t
H5S_get_select_npoints (const H5S_t *space)
{
- herr_t ret_value=FAIL; /* return value */
+ hsize_t ret_value=FAIL; /* return value */
FUNC_ENTER (H5S_get_select_npoints, FAIL);