summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-07-21 20:46:16 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-07-21 20:46:16 (GMT)
commit0aa506cc6cc9e3d054dd98e46add8e6a6e492f7e (patch)
tree6f0792932f19266e3855b56b6ade077ee8517e41
parentde5389cc272c7610b2f6ea7510bd9222c780fb1b (diff)
downloadhdf5-0aa506cc6cc9e3d054dd98e46add8e6a6e492f7e.zip
hdf5-0aa506cc6cc9e3d054dd98e46add8e6a6e492f7e.tar.gz
hdf5-0aa506cc6cc9e3d054dd98e46add8e6a6e492f7e.tar.bz2
[svn-r525] Corrected type of 'start' array for hyperslab selections.
-rw-r--r--test/tselect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tselect.c b/test/tselect.c
index bdea4f4..78549b9 100644
--- a/test/tselect.c
+++ b/test/tselect.c
@@ -70,7 +70,7 @@ test_select_hyper(void)
hsize_t dims1[] = {SPACE1_DIM1, SPACE1_DIM2, SPACE1_DIM3};
hsize_t dims2[] = {SPACE2_DIM1, SPACE2_DIM2};
hsize_t dims3[] = {SPACE3_DIM1, SPACE3_DIM2};
- hsize_t start[SPACE1_RANK]; /* Starting location of hyperslab */
+ hssize_t start[SPACE1_RANK]; /* Starting location of hyperslab */
hsize_t stride[SPACE1_RANK]; /* Stride of hyperslab */
hsize_t count[SPACE1_RANK]; /* Element count of hyperslab */
hsize_t block[SPACE1_RANK]; /* Block size of hyperslab */
@@ -339,7 +339,7 @@ test_select_combo(void)
hsize_t dims2[] = {SPACE2_DIM1, SPACE2_DIM2};
hsize_t dims3[] = {SPACE3_DIM1, SPACE3_DIM2};
hssize_t coord1[POINT1_NPOINTS][SPACE1_RANK]; /* Coordinates for point selection */
- hsize_t start[SPACE1_RANK]; /* Starting location of hyperslab */
+ hssize_t start[SPACE1_RANK]; /* Starting location of hyperslab */
hsize_t stride[SPACE1_RANK]; /* Stride of hyperslab */
hsize_t count[SPACE1_RANK]; /* Element count of hyperslab */
hsize_t block[SPACE1_RANK]; /* Block size of hyperslab */
@@ -480,7 +480,7 @@ test_select_hyper_stride(void)
hsize_t dims1[] = {SPACE1_DIM1, SPACE1_DIM2, SPACE1_DIM3};
hsize_t dims2[] = {SPACE2_DIM1, SPACE2_DIM2};
hsize_t dims3[] = {SPACE3_DIM1, SPACE3_DIM2};
- hsize_t start[SPACE1_RANK]; /* Starting location of hyperslab */
+ hssize_t start[SPACE1_RANK]; /* Starting location of hyperslab */
hsize_t stride[SPACE1_RANK]; /* Stride of hyperslab */
hsize_t count[SPACE1_RANK]; /* Element count of hyperslab */
hsize_t block[SPACE1_RANK]; /* Block size of hyperslab */