Skip to content

Commit

Permalink
Fix a format string warning in the C++ examples (HDFGroup#3776)
Browse files Browse the repository at this point in the history
  • Loading branch information
derobins authored and jhendersonHDF committed Dec 7, 2023
1 parent b9b9b6c commit b89bb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hl/c++/examples/ptExampleFL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ main(void)
if (err < 0)
fprintf(stderr, "Error getting packet count.");

printf("Number of packets in packet table after five appends: %llu\n", count);
printf("Number of packets in packet table after five appends: %" PRIuHSIZE "\n", count);

/* Initialize packet table's "current record" */
ptable.ResetIndex();
Expand Down

0 comments on commit b89bb5f

Please sign in to comment.