summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/h5_attribute.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c
index 6cc1c9a..ab2c539 100644
--- a/examples/h5_attribute.c
+++ b/examples/h5_attribute.c
@@ -12,6 +12,7 @@
#include <stdlib.h>
#include <hdf5.h>
+#include <H5private.h>
#define FILE "Attributes.h5"
@@ -45,7 +46,7 @@ main (void)
float matrix[ADIM1][ADIM2]; /* Attribute data */
herr_t ret; /* Return value */
- uint i,j; /* Counters */
+ uint32 i,j; /* Counters */
int idx; /* Attribute index */
char string_out[80]; /* Buffer to read string attribute back */
int point_out; /* Buffer to read scalar attribute back */