summaryrefslogtreecommitdiffstats
path: root/examples/h5_attribute.c
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1998-11-10 18:13:23 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1998-11-10 18:13:23 (GMT)
commite29ca0f1664e40e69a78046643adfb7377315a40 (patch)
treeaa52a98dab87fc439bfa1e31728bb42774f5b630 /examples/h5_attribute.c
parent8199af2425fc416237bf10a6c52fa7fcac1052e4 (diff)
downloadhdf5-e29ca0f1664e40e69a78046643adfb7377315a40.zip
hdf5-e29ca0f1664e40e69a78046643adfb7377315a40.tar.gz
hdf5-e29ca0f1664e40e69a78046643adfb7377315a40.tar.bz2
[svn-r893] changed a uint to a uint32 and included H5private.h in the file.
Diffstat (limited to 'examples/h5_attribute.c')
-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 */