mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 12:17: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
|
@ -59,7 +59,7 @@ ssize_t NullDevice::read(FileDescription&, size_t, u8*, ssize_t)
|
|||
|
||||
ssize_t NullDevice::write(FileDescription&, size_t, const u8*, ssize_t buffer_size)
|
||||
{
|
||||
return min(PAGE_SIZE, buffer_size);
|
||||
return min(static_cast<ssize_t>(PAGE_SIZE), buffer_size);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue