summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-09-11 21:34:14 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-09-11 21:34:14 (GMT)
commit208e59bab978f3a66a9a8752736b290de1b620dc (patch)
tree7cf25eb0ea415e4226dfc6b2c15c05efc531d496 /src/H5Shyper.c
parentad39fcd6905bdc39ed99e4b1f48d7ea60e01aea2 (diff)
downloadhdf5-208e59bab978f3a66a9a8752736b290de1b620dc.zip
hdf5-208e59bab978f3a66a9a8752736b290de1b620dc.tar.gz
hdf5-208e59bab978f3a66a9a8752736b290de1b620dc.tar.bz2
[svn-r5921] Purpose:
Code cleanup Description: Two of the parameters to H5S_select_hyperslab are defined as "const hsize_t foo[]", and then "foo" is assigned another value, which is technically against the C standard and is now causing problems for a user with a more strict compiler. Solution: Changed "const hsize_t foo[]" to "const hsize_t *foo". Platforms tested: FreeBSD 4.6 (sleipnir) - not a significant enough change to worry about multi-platform testing.
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r--src/H5Shyper.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index 79c8e3e..ad5c53a 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -3906,9 +3906,9 @@ done:
herr_t
H5S_select_hyperslab (H5S_t *space, H5S_seloper_t op,
const hssize_t start[],
- const hsize_t stride[],
+ const hsize_t *stride,
const hsize_t count[],
- const hsize_t block[])
+ const hsize_t *block)
{
hsize_t *_stride=NULL; /* Stride array */
hsize_t *_block=NULL; /* Block size array */
@@ -4453,10 +4453,10 @@ done:
*/
herr_t
H5S_select_hyperslab (H5S_t *space, H5S_seloper_t op,
- const hssize_t start[],
- const hsize_t stride[],
+ const hssize_t start,
+ const hsize_t *stride[],
const hsize_t count[],
- const hsize_t block[])
+ const hsize_t *block)
{
hsize_t *_stride=NULL; /* Stride array */
hsize_t *_block=NULL; /* Block size array */