Jelajahi Sumber

ls: Make 64 bit clean

Jean-Baptiste Boric 4 tahun lalu
induk
melakukan
570bb81a31
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Userland/Utilities/ls.cpp

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