Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove oneapi/clang compiler printf() type warning. #3994

Merged
merged 4 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5T/h5ex_t_convert.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ main(void)
* Output the data to the screen.
*/
for (i = 0; i < DIM0; i++) {
printf("sensor[%d]:\n", i);
printf("sensor[%" PRIuHSIZE "]:\n", i);
printf("Serial number : %d\n", sensor[i].serial_no);
printf("Location : %s\n", sensor[i].location);
printf("Temperature (F) : %f\n", sensor[i].temperature);
Expand Down
2 changes: 1 addition & 1 deletion HDF5Examples/C/H5T/h5ex_t_opaque.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Loading