summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-10-26 04:31:21 (GMT)
committerGitHub <noreply@github.com>2023-10-26 04:31:21 (GMT)
commit74cc1cf59eae121c1d15caf4fb0420a18a45da13 (patch)
tree665c0e6a30888eb6b5050007934286d414af45c2 /hl
parent6ccace572e99561adf820af686da19f9a31efee3 (diff)
downloadhdf5-74cc1cf59eae121c1d15caf4fb0420a18a45da13.zip
hdf5-74cc1cf59eae121c1d15caf4fb0420a18a45da13.tar.gz
hdf5-74cc1cf59eae121c1d15caf4fb0420a18a45da13.tar.bz2
Fix a format string warning in the C++ examples (#3776)
Diffstat (limited to 'hl')
-rw-r--r--hl/c++/examples/ptExampleFL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/c++/examples/ptExampleFL.cpp b/hl/c++/examples/ptExampleFL.cpp
index 0e280f0..cb407e2 100644
--- a/hl/c++/examples/ptExampleFL.cpp
+++ b/hl/c++/examples/ptExampleFL.cpp
@@ -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();