summaryrefslogtreecommitdiffstats
path: root/HDF5Examples/C/H5T/h5ex_t_objrefatt.c
diff options
context:
space:
mode:
Diffstat (limited to 'HDF5Examples/C/H5T/h5ex_t_objrefatt.c')
-rw-r--r--HDF5Examples/C/H5T/h5ex_t_objrefatt.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/HDF5Examples/C/H5T/h5ex_t_objrefatt.c b/HDF5Examples/C/H5T/h5ex_t_objrefatt.c
index 1d9d1fe..562364a 100644
--- a/HDF5Examples/C/H5T/h5ex_t_objrefatt.c
+++ b/HDF5Examples/C/H5T/h5ex_t_objrefatt.c
@@ -147,7 +147,7 @@ main(void)
* Output the data to the screen.
*/
for (i = 0; i < dims[0]; i++) {
- printf("%s[%llu]:\n ->", ATTRIBUTE, i);
+ printf("%s[%" PRIuHSIZE "]:\n ->", ATTRIBUTE, i);
/*
* Open the referenced object, get its name and type.
@@ -186,6 +186,9 @@ main(void)
case H5O_TYPE_NAMED_DATATYPE:
printf("Named Datatype");
break;
+ case H5O_TYPE_MAP:
+ printf("Map Object");
+ break;
case H5O_TYPE_UNKNOWN:
case H5O_TYPE_NTYPES:
printf("Unknown");