From 570bb81a314adeba5134ffb0a1eaabefc2c5d858 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Boric Date: Wed, 17 Mar 2021 18:52:14 +0100 Subject: [PATCH] ls: Make 64 bit clean --- Userland/Utilities/ls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }