diff options
Diffstat (limited to 'examples/h5_vds-exclim.c')
-rw-r--r-- | examples/h5_vds-exclim.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/h5_vds-exclim.c b/examples/h5_vds-exclim.c index 0d88442..af39c55 100644 --- a/examples/h5_vds-exclim.c +++ b/examples/h5_vds-exclim.c @@ -6,6 +6,7 @@ This file is intended for use with HDF5 Library version 1.10 ************************************************************/ +/* EIP Add link to the picture */ #include "hdf5.h" #include <stdio.h> @@ -172,10 +173,10 @@ main (void) if (H5Sget_select_type(vspace) == H5S_SEL_HYPERSLABS) { if (H5Sis_regular_hyperslab(vspace)) { status = H5Sget_regular_hyperslab (vspace, start_out, stride_out, count_out, block_out); - printf(" start = [%d, %d, %d] \n", (int)start_out[0], (int)start_out[1], (int)start_out[2]); - printf(" stride = [%d, %d, %d] \n", (int)stride_out[0], (int)stride_out[1], (int)stride_out[2]); - printf(" count = [%d, %d, %d] \n", (int)count_out[0], (int)count_out[1], (int)count_out[2]); - printf(" block = [%d, %d, %d] \n", (int)block_out[0], (int)block_out[1], (int)block_out[2]); + printf(" start = [%llu, %llu, %llu] \n", (unsigned long long)start_out[0], (unsigned long long)start_out[1], (unsigned long long)start_out[2]); + printf(" stride = [%llu, %llu, %llu] \n", (unsigned long long)stride_out[0], (unsigned long long)stride_out[1], (unsigned long long)stride_out[2]); + printf(" count = [%llu, %llu, %llu] \n", (unsigned long long)count_out[0], (unsigned long long)count_out[1], (unsigned long long)count_out[2]); + printf(" block = [%llu, %llu, %llu] \n", (unsigned long long)block_out[0], (unsigned long long)block_out[1], (unsigned long long)block_out[2]); } } /* Get source file name */ @@ -207,6 +208,7 @@ main (void) free(filename); free(dsetname); } +/* EIP read data back */ /* * Close and release resources. |