summaryrefslogtreecommitdiffstats
path: root/examples/h5_read.c
diff options
context:
space:
mode:
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++) {