Skip to content

Commit

Permalink
Fix a format string warning in the C++ examples
Browse files Browse the repository at this point in the history
  • Loading branch information
derobins committed Oct 25, 2023
1 parent 1d8513f commit 62c5843
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: %" PRIdHSIZE "\n", count);

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

0 comments on commit 62c5843

Please sign in to comment.