1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:47:35 +00:00

ls: Make 64 bit clean

This commit is contained in:
Jean-Baptiste Boric 2021-03-17 18:52:14 +01:00 committed by Andreas Kling
parent 10df91b424
commit 570bb81a31

View file

@ -310,7 +310,7 @@ static bool print_filesystem_object(const String& path, const String& name, cons
printf(" %4u,%4u ", major(st.st_rdev), minor(st.st_rdev));
} else {
if (flag_human_readable) {
printf(" %10s ", human_readable_size((size_t)st.st_size).characters());
printf(" %10s ", human_readable_size(st.st_size).characters());
} else {
printf(" %10lld ", st.st_size);
}