summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/h5_select.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/h5_select.c b/examples/h5_select.c
index 8d587d4..0c61e85 100644
--- a/examples/h5_select.c
+++ b/examples/h5_select.c
@@ -10,6 +10,7 @@
*/
#include <hdf5.h>
+#include <H5private.h>
#define FILE "Select.h5"
@@ -57,7 +58,7 @@ int main (void)
hssize_t coord[NPOINTS][FSPACE_RANK]; /* Array to store selected points
from the file dataspace */
herr_t ret;
- uint i,j;
+ uint32 i,j;
int matrix[FSPACE_DIM1][FSPACE_DIM2]; /* Buffer to write to the dataset */
int matrix_out[MSPACE_DIM1][MSPACE_DIM2]; /* Buffer to read from the
dataset */