summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5If.c
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/src/H5If.c')
-rw-r--r--fortran/src/H5If.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/src/H5If.c b/fortran/src/H5If.c
index 6931066..d23dd13 100644
--- a/fortran/src/H5If.c
+++ b/fortran/src/H5If.c
@@ -81,7 +81,7 @@ nh5iget_name_c(hid_t_f *obj_id, _fcd buf, size_t_f *buf_size, size_t_f *name_siz
/*
* Convert C name to FORTRAN and place it in the given buffer
*/
- HD5packFstring(c_buf, _fcdtocp(buf), (int)c_buf_size);
+ HD5packFstring(c_buf, _fcdtocp(buf), c_buf_size);
*name_size = (size_t_f)c_size;
ret_value = 0;