summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5B2test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5B2test.c b/src/H5B2test.c
index f2cf79d..46cd510 100644
--- a/src/H5B2test.c
+++ b/src/H5B2test.c
@@ -456,7 +456,7 @@ H5B2_get_node_depth_test(H5F_t *f, hid_t dxpl_id, const H5B2_class_t *type, hadd
HGOTO_ERROR(H5E_BTREE, H5E_NOTFOUND, FAIL, "error looking up node info")
/* Set return value */
- ret_value = ninfo.depth;
+ ret_value = (int)ninfo.depth;
done:
FUNC_LEAVE_NOAPI(ret_value)