summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-08-01 20:13:27 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-08-01 20:13:27 (GMT)
commitd4ebdeadadf89ce03ad537c4b8d2bb66a9f4f828 (patch)
treee3007b7db336ae98b3438e4ab5dd10c2ede2f13e /src
parent8771fba1de67c170813b622812ea943d682104ec (diff)
downloadhdf5-d4ebdeadadf89ce03ad537c4b8d2bb66a9f4f828.zip
hdf5-d4ebdeadadf89ce03ad537c4b8d2bb66a9f4f828.tar.gz
hdf5-d4ebdeadadf89ce03ad537c4b8d2bb66a9f4f828.tar.bz2
[svn-r25504] fix ret_value in H5Oexists_by_name to be htri_t instead of hid_t. Bug exposed in VOL branch.
Diffstat (limited to 'src')
-rw-r--r--src/H5O.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5O.c b/src/H5O.c
index a896ee0..341801b 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -556,7 +556,7 @@ htri_t
H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
{
H5G_loc_t loc; /* Location info */
- hid_t ret_value = FAIL; /* Return value */
+ htri_t ret_value = FAIL; /* Return value */
FUNC_ENTER_API(FAIL)
H5TRACE3("t", "i*si", loc_id, name, lapl_id);