summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-03-10 12:10:36 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-03-10 12:10:36 (GMT)
commit55cd5326f36fbd36ff62bae1becabf341b406fa0 (patch)
treec27ad3263f2074dcbfc0f3caa2f479af7586a41b
parentc956c2f03ba66056270413a82f78fbddd987b356 (diff)
downloadhdf5-55cd5326f36fbd36ff62bae1becabf341b406fa0.zip
hdf5-55cd5326f36fbd36ff62bae1becabf341b406fa0.tar.gz
hdf5-55cd5326f36fbd36ff62bae1becabf341b406fa0.tar.bz2
[svn-r20221] Remove rougue 'int' inside for loop (cut-paste error) - windows complained.
-rw-r--r--tools/lib/h5tools.c2
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) {