diff options
Diffstat (limited to 'fortran/src/H5Gf.c')
-rw-r--r-- | fortran/src/H5Gf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/src/H5Gf.c b/fortran/src/H5Gf.c index e86d342..a57b475 100644 --- a/fortran/src/H5Gf.c +++ b/fortran/src/H5Gf.c @@ -133,7 +133,7 @@ nh5gget_obj_info_idx_c */ c_loc_id = *loc_id; c_idx = *idx; - c_ret_value = H5Gget_obj_info_idx(c_loc_id, c_name, c_idx, &c_obj_name, &type); + c_ret_value = H5Gget_obj_info_idx(c_loc_id, c_name, c_idx, &c_obj_name, (size_t)*obj_namelen, &type); if (c_ret_value < 0) { HDfree(c_obj_name); |