diff options
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/h5tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c index 0286bea..ab7b017 100644 --- a/tools/lib/h5tools.c +++ b/tools/lib/h5tools.c @@ -649,7 +649,7 @@ H5Tdetect_vlen_str(hid_t tid) } else if (tclass == H5T_COMPOUND) { n = H5Tget_nmembers(tid); - for (int i = 0; i < n; i++) { + for (i = 0; i < n; i++) { hid_t mtid = H5Tget_member_type(tid, i); has_vlen_str = H5Tdetect_vlen_str(mtid); if (has_vlen_str == TRUE) { |