mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:57:35 +00:00
Kernel+LibC: Fix various build issues introduced by ssize_t
Now that ssize_t is derived from size_t, we have to
This commit is contained in:
parent
2fe6b3725a
commit
dd924b730a
14 changed files with 15 additions and 16 deletions
|
@ -48,7 +48,7 @@ static int stat(const char* file, bool should_follow_links)
|
|||
if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode))
|
||||
printf(" Device: %u,%u\n", major(st.st_rdev), minor(st.st_rdev));
|
||||
else
|
||||
printf(" Size: %u\n", st.st_size);
|
||||
printf(" Size: %zd\n", st.st_size);
|
||||
printf(" Links: %u\n", st.st_nlink);
|
||||
printf(" Blocks: %u\n", st.st_blocks);
|
||||
printf(" UID: %u", st.st_uid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue