Closed kevinbackhouse closed 12 months ago
%d is not the correct format specifier for size_t. I think %zu should be correct, provided that nobody is using an old compiler that doesn't support it. Based on this stackoverflow question from 10 years ago, I think it should be ok.
%d
size_t
%zu
%d
is not the correct format specifier forsize_t
. I think%zu
should be correct, provided that nobody is using an old compiler that doesn't support it. Based on this stackoverflow question from 10 years ago, I think it should be ok.