summaryrefslogtreecommitdiffstats
path: root/examples/h5_read.c
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>1998-09-01 15:07:02 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>1998-09-01 15:07:02 (GMT)
commit94a9576ee7bf5ea5db73984d492378822f6c684f (patch)
treea9546b708e42f416da2abbb3565cca081914d6b8 /examples/h5_read.c
parent697b9c5ad0a76333dc1cf5ee03aff1c350a4e887 (diff)
downloadhdf5-94a9576ee7bf5ea5db73984d492378822f6c684f.zip
hdf5-94a9576ee7bf5ea5db73984d492378822f6c684f.tar.gz
hdf5-94a9576ee7bf5ea5db73984d492378822f6c684f.tar.bz2
[svn-r645] ./examples/h5_attribute.c
./examples/h5_select.c Cosmetic changes to the source format ./examples/h5_chunk_read.c ./examples/h5_read.c Third argument in the H5select_hyperslab function had wrong datatype. Fixed.
Diffstat (limited to 'examples/h5_read.c')
-rw-r--r--examples/h5_read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_read.c b/examples/h5_read.c
index fb221ab..c5b675f 100644
--- a/examples/h5_read.c
+++ b/examples/h5_read.c
@@ -36,9 +36,9 @@ main (void)
int data_out[NX][NY][NZ ]; /* output buffer */
hsize_t count[2]; /* size of the hyperslab in the file */
- hsize_t offset[2]; /* hyperslab offset in the file */
+ hssize_t offset[2]; /* hyperslab offset in the file */
hsize_t count_out[3]; /* size of the hyperslab in memory */
- hsize_t offset_out[3]; /* hyperslab offset in memory */
+ hssize_t offset_out[3]; /* hyperslab offset in memory */
int i, j, k, status_n, rank;
for (j = 0; j < NX; j++) {