summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fortran/src/H5Ff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/src/H5Ff.c b/fortran/src/H5Ff.c
index 6b76ba0..0f16b29 100644
--- a/fortran/src/H5Ff.c
+++ b/fortran/src/H5Ff.c
@@ -397,7 +397,7 @@ nh5fclose_c ( hid_t_f *file_id )
int ret_value = 0;
hid_t c_file_id;
- c_file_id = (hid_t*)*file_id;
+ c_file_id = (hid_t)*file_id;
if ( H5Fclose(c_file_id) < 0 ) ret_value = -1;
return ret_value;
}