mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 02:13:56 +09: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
Notes:
sideshowbarker
2024-07-19 06:12:59 +09:00
Author: https://github.com/awesomekling
Commit: dd924b730a
14 changed files with 15 additions and 16 deletions
|
@ -4259,7 +4259,7 @@ int Process::sys$get_process_name(char* buffer, int buffer_size)
|
|||
// We don't use the flag yet, but we could use it for distinguishing
|
||||
// random source like Linux, unlike the OpenBSD equivalent. However, if we
|
||||
// do, we should be able of the caveats that Linux has dealt with.
|
||||
int Process::sys$getrandom(void* buffer, size_t buffer_size, unsigned int flags __attribute__((unused)))
|
||||
ssize_t Process::sys$getrandom(void* buffer, size_t buffer_size, unsigned int flags __attribute__((unused)))
|
||||
{
|
||||
REQUIRE_PROMISE(stdio);
|
||||
if (buffer_size <= 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue