mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
Kernel: Make watch_file() syscall take path length as a size_t
We don't care to handle negative path lengths anyway.
This commit is contained in:
@@ -3447,7 +3447,7 @@ int Process::sys$ftruncate(int fd, off_t length)
|
||||
return description->truncate(length);
|
||||
}
|
||||
|
||||
int Process::sys$watch_file(const char* user_path, int path_length)
|
||||
int Process::sys$watch_file(const char* user_path, size_t path_length)
|
||||
{
|
||||
auto path = get_syscall_path_argument(user_path, path_length);
|
||||
if (path.is_error())
|
||||
|
||||
Reference in New Issue
Block a user