summaryrefslogtreecommitdiffstats
path: root/HDF5Examples/C/H5T/h5ex_t_opaque.c
diff options
context:
space:
mode:
authorH. Joe Lee <hyoklee@hdfgroup.org>2024-02-08 15:56:20 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2024-02-14 22:08:37 (GMT)
commitb63a9fe5996e0129640c5dfb870b9f9220720217 (patch)
tree5e0a5a041c2b9c78cc3382ba25a11d62abc95fdb /HDF5Examples/C/H5T/h5ex_t_opaque.c
parent7e47f893140f0700ca6a0f77cb5c0a42f5bad21d (diff)
downloadhdf5-b63a9fe5996e0129640c5dfb870b9f9220720217.zip
hdf5-b63a9fe5996e0129640c5dfb870b9f9220720217.tar.gz
hdf5-b63a9fe5996e0129640c5dfb870b9f9220720217.tar.bz2
Remove oneapi/clang compiler printf() type warning. (#3994)
* Remove oneapi/clang compiler printf() type warning from h5ex_t_opaque.c.
Diffstat (limited to 'HDF5Examples/C/H5T/h5ex_t_opaque.c')
-rw-r--r--HDF5Examples/C/H5T/h5ex_t_opaque.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/HDF5Examples/C/H5T/h5ex_t_opaque.c b/HDF5Examples/C/H5T/h5ex_t_opaque.c
index 085183a..11a58ae 100644
--- a/HDF5Examples/C/H5T/h5ex_t_opaque.c
+++ b/HDF5Examples/C/H5T/h5ex_t_opaque.c
@@ -111,7 +111,7 @@ main(void)
*/
printf("Datatype tag for %s is: \"%s\"\n", DATASET, tag);
for (i = 0; i < dims[0]; i++) {
- printf("%s[%u]: ", DATASET, i);
+ printf("%s[%" PRIuHSIZE "]: ", DATASET, i);
for (j = 0; j < len; j++)
printf("%c", rdata[j + i * len]);
printf("\n");