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); }