From dd3768ee25e4db04301f26f699f731ea8f5291fa Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 30 Mar 2007 14:35:30 -0500 Subject: [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 --- test/dsets.c | 16 ++++++++-------- test/dtypes.c | 2 +- test/enum.c | 9 ++++++--- test/external.c | 2 +- test/flush1.c | 2 +- test/flush2.c | 2 +- test/istore.c | 2 +- tools/lib/h5tools.c | 2 +- tools/lib/h5tools_str.c | 2 +- 9 files changed, 21 insertions(+), 18 deletions(-) diff --git a/test/dsets.c b/test/dsets.c index 9e89b2a..d7f2de2 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -1311,7 +1311,7 @@ test_filter_internal(hid_t fid, const char *name, hid_t dcpl, int if_fletcher32, const hsize_t hs_offset[2] = {FILTER_HS_OFFSET1, FILTER_HS_OFFSET2}; /* Hyperslab offset */ const hsize_t hs_size[2] = {FILTER_HS_SIZE1, FILTER_HS_SIZE2}; /* Hyperslab size */ void *tconv_buf = NULL; /* Temporary conversion buffer */ - hsize_t i, j, n; /* Local index variables */ + size_t i, j, n; /* Local index variables */ herr_t status; /* Error status */ /* Create the data space */ @@ -1562,7 +1562,7 @@ test_filter_internal(hid_t fid, const char *name, hid_t dcpl, int if_fletcher32, for (i=0; i