diff options
author | Jean-Baptiste Boric <jblbeurope@gmail.com> | 2021-03-17 18:52:14 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-17 23:22:42 +0100 |
commit | 570bb81a314adeba5134ffb0a1eaabefc2c5d858 (patch) | |
tree | 5d1988f6c1799d23c9b2b2b5295469aa1c5f57df /Userland/Utilities/ls.cpp | |
parent | 10df91b424cc5eafa63f612182589207df8def17 (diff) | |
download | serenity-570bb81a314adeba5134ffb0a1eaabefc2c5d858.zip |
ls: Make 64 bit clean
Diffstat (limited to 'Userland/Utilities/ls.cpp')
-rw-r--r-- | Userland/Utilities/ls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/ls.cpp b/Userland/Utilities/ls.cpp index 2510d58982..7dffbe405d 100644 --- a/Userland/Utilities/ls.cpp +++ b/Userland/Utilities/ls.cpp @@ -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); } |