summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5Af.c
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/src/H5Af.c')
-rw-r--r--fortran/src/H5Af.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/src/H5Af.c b/fortran/src/H5Af.c
index 7bba6d7..696b8ed 100644
--- a/fortran/src/H5Af.c
+++ b/fortran/src/H5Af.c
@@ -571,7 +571,7 @@ nh5aget_name_c(hid_t_f *attr_id, size_t_f *bufsize, _fcd buf)
* Allocate buffer to hold name of an attribute
*/
c_bufsize = *bufsize;
- c_buf = (char *)HDmalloc((int)c_bufsize +1);
+ c_buf = (char *)HDmalloc(c_bufsize +1);
if (c_buf == NULL) return ret_value;
/*