mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 11:06:10 +00:00
Userland: Fix 64-bit portability issues
This commit is contained in:
parent
fdbe66a7b4
commit
b613817bca
Notes:
sideshowbarker
2024-07-18 18:45:37 +09:00
Author: https://github.com/gunnarbeutner
Commit: b613817bca
Pull-request: https://github.com/SerenityOS/serenity/pull/6803
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/awesomekling
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