summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5Sf.c
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/src/H5Sf.c')
-rw-r--r--fortran/src/H5Sf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fortran/src/H5Sf.c b/fortran/src/H5Sf.c
index a7f2b1b..f37e9c0 100644
--- a/fortran/src/H5Sf.c
+++ b/fortran/src/H5Sf.c
@@ -320,7 +320,8 @@ nh5sget_select_elem_pointlist_c( hid_t_f *space_id ,hsize_t_f * startpoint,
hid_t c_space_id;
hsize_t c_num_points;
hsize_t c_startpoint,* c_buf;
- int i, rank;
+ int rank;
+ hsize_t i;
c_space_id = *space_id;
c_num_points = (hsize_t)* numpoints;