summaryrefslogtreecommitdiffstats
path: root/doc/html/Tutor/examples
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-06-04 15:22:23 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-06-04 15:22:23 (GMT)
commitbb042d83c73df85f30c7103e9ff93b5cc630fced (patch)
tree5638b25ee89850f8066baadb25d24a7f5e688f6c /doc/html/Tutor/examples
parent112aff61caec385132f05fc50efe8d3ce3357929 (diff)
downloadhdf5-bb042d83c73df85f30c7103e9ff93b5cc630fced.zip
hdf5-bb042d83c73df85f30c7103e9ff93b5cc630fced.tar.gz
hdf5-bb042d83c73df85f30c7103e9ff93b5cc630fced.tar.bz2
[svn-r6950] Purpose:
API tweak. Description: The H5Sget_select_bounds() API call was using hsize_t arrays for retrieving the 'start' and 'end' coordinates, which is counter to the rest of the dataspace API. Solution: Change the arrays to be hssize_t instead. Platforms tested: FreeBSD 4.8 (sleipnir) w/C++ FreeBSD 4.8 (sleipnir) w/parallel h5committested Misc. update: Updated all docs for this change. Added 1.4 compatibility #ifdef's
Diffstat (limited to 'doc/html/Tutor/examples')
-rw-r--r--doc/html/Tutor/examples/h5_ref2regr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/Tutor/examples/h5_ref2regr.c b/doc/html/Tutor/examples/h5_ref2regr.c
index 9f747ae..26b5daf 100644
--- a/doc/html/Tutor/examples/h5_ref2regr.c
+++ b/doc/html/Tutor/examples/h5_ref2regr.c
@@ -24,8 +24,8 @@ main(void)
hid_t sid1, /* Dataspace ID #1 */
sid2; /* Dataspace ID #2 */
hsize_t * coords; /* Coordinate buffer */
- hsize_t low[SPACE2_RANK]; /* Selection bounds */
- hsize_t high[SPACE2_RANK]; /* Selection bounds */
+ hssize_t low[SPACE2_RANK]; /* Selection bounds */
+ hssize_t high[SPACE2_RANK]; /* Selection bounds */
hdset_reg_ref_t *rbuf; /* buffer to to read disk */
int *drbuf; /* Buffer for reading numeric data from disk */
int i, j; /* counting variables */