summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-03-30 19:35:30 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-03-30 19:35:30 (GMT)
commitdd3768ee25e4db04301f26f699f731ea8f5291fa (patch)
treec292946c8bc6352db1d1bce2a721ac19e8cd2e32 /tools/lib/h5tools.c
parent189edf82048c2ef3769104d812864229af2adcc6 (diff)
downloadhdf5-dd3768ee25e4db04301f26f699f731ea8f5291fa.zip
hdf5-dd3768ee25e4db04301f26f699f731ea8f5291fa.tar.gz
hdf5-dd3768ee25e4db04301f26f699f731ea8f5291fa.tar.bz2
[svn-r13571] Description:
Correct various array indices to use 'size_t' instead of 'hsize_t' to make the PGI compiler happy. Tested on: Linux/32 2.4 (kagiso) w/PGI C compiler
Diffstat (limited to 'tools/lib/h5tools.c')
-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 e678a4f..5baac5f 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -901,7 +901,7 @@ h5tools_dump_simple_dset(FILE *stream, const h5tool_format_t *info, hid_t dset,
{
hid_t f_space; /* file data space */
hsize_t elmtno; /* counter */
- hsize_t i; /* counter */
+ size_t i; /* counter */
int carry; /* counter carry value */
hsize_t zero[8]; /* vector of zeros */
unsigned int flags; /* buffer extent flags */