diff options
Diffstat (limited to 'examples/h5_attribute.c')
-rw-r--r-- | examples/h5_attribute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c index d88f589..f0a6aa5 100644 --- a/examples/h5_attribute.c +++ b/examples/h5_attribute.c @@ -190,7 +190,7 @@ main(void) ret = H5Oget_info(dataset, &oinfo); for (i = 0; i < (unsigned)oinfo.num_attrs; i++) { attr = H5Aopen_by_idx(dataset, ".", H5_INDEX_CRT_ORDER, H5_ITER_INC, (hsize_t)i, H5P_DEFAULT, - H5P_DEFAULT); + H5P_DEFAULT); atype = H5Aget_type(attr); type_class = H5Tget_class(atype); if (type_class == H5T_STRING) { @@ -229,7 +229,7 @@ attr_info(hid_t loc_id, const char *name, const H5A_info_t *ainfo, void *opdata) herr_t ret; int i; size_t npoints; /* Number of elements in the array attribute. */ - float * float_array; /* Pointer to the array attribute. */ + float *float_array; /* Pointer to the array attribute. */ /* avoid warnings */ opdata = opdata; |