mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 05:07:35 +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
|
@ -71,9 +71,9 @@ int main(int argc, char** argv)
|
|||
printf("%10s ", human_readable_size((total_block_count - free_block_count) * block_size).characters());
|
||||
printf("%10s ", human_readable_size(free_block_count * block_size).characters());
|
||||
} else {
|
||||
printf("%10" PRIu64 " ", total_block_count);
|
||||
printf("%10" PRIu64 " ", total_block_count - free_block_count);
|
||||
printf("%10" PRIu64 " ", free_block_count);
|
||||
printf("%10" PRIu64 " ", (uint64_t)total_block_count);
|
||||
printf("%10" PRIu64 " ", (uint64_t)(total_block_count - free_block_count));
|
||||
printf("%10" PRIu64 " ", (uint64_t)free_block_count);
|
||||
}
|
||||
|
||||
printf("%s", mount_point.characters());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue