diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-03-30 19:35:30 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-03-30 19:35:30 (GMT) |
commit | dd3768ee25e4db04301f26f699f731ea8f5291fa (patch) | |
tree | c292946c8bc6352db1d1bce2a721ac19e8cd2e32 /tools | |
parent | 189edf82048c2ef3769104d812864229af2adcc6 (diff) | |
download | hdf5-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')
-rw-r--r-- | tools/lib/h5tools.c | 2 | ||||
-rw-r--r-- | tools/lib/h5tools_str.c | 2 |
2 files changed, 2 insertions, 2 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 */ diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c index 9879ac4..2805bd9 100644 --- a/tools/lib/h5tools_str.c +++ b/tools/lib/h5tools_str.c @@ -316,7 +316,7 @@ h5tools_str_prefix(h5tools_str_t *str/*in,out*/, const h5tool_format_t *info, hsize_t max_idx[], h5tools_context_t *ctx) { hsize_t p_prod[H5S_MAX_RANK]; - hsize_t i = 0; + size_t i = 0; hsize_t curr_pos=elmtno; h5tools_str_reset(str); |