summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/h5_read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_read.c b/examples/h5_read.c
index 31cb882..82f71a6 100644
--- a/examples/h5_read.c
+++ b/examples/h5_read.c
@@ -65,7 +65,7 @@ main (void)
if (order == H5T_ORDER_LE) printf("Little endian order \n");
size = H5Tget_size(datatype);
- printf(" Data size is %d \n", size);
+ printf(" Data size is %d \n", (int)size);
dataspace = H5Dget_space(dataset); /* dataspace handle */
rank = H5Sget_simple_extent_ndims(dataspace);