We can use the %zu format specifier directly, no need to cast to int.
Attach a file by drag & drop or click to upload