mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
Userland: Fix 64-bit portability issues
This commit is contained in:
parent
fdbe66a7b4
commit
b613817bca
15 changed files with 59 additions and 30 deletions
|
@ -20,6 +20,7 @@
|
|||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <grp.h>
|
||||
#include <inttypes.h>
|
||||
#include <pwd.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
@ -313,7 +314,7 @@ static bool print_filesystem_object(const String& path, const String& name, cons
|
|||
if (flag_human_readable) {
|
||||
printf(" %10s ", human_readable_size(st.st_size).characters());
|
||||
} else {
|
||||
printf(" %10lld ", st.st_size);
|
||||
printf(" %10" PRIu64 " ", (uint64_t)st.st_size);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue