Closed maribu closed 6 days ago
For printing size_t the format specifier %lu was used in the code. However, %lu is used to print unsigned long. The correct format specifier for size_t is %zu, so let's use that.
size_t
%lu
unsigned long
%zu
Thanks
For printing
size_t
the format specifier%lu
was used in the code. However,%lu
is used to printunsigned long
. The correct format specifier forsize_t
is%zu
, so let's use that.