mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Kernel: Use u64 instead of size_t for File::can_read offset
This ensures offsets will not be truncated on large files on i686.
This commit is contained in:
@@ -32,7 +32,7 @@ UNMAP_AFTER_INIT ConsoleDevice::~ConsoleDevice()
|
||||
{
|
||||
}
|
||||
|
||||
bool ConsoleDevice::can_read(const Kernel::OpenFileDescription&, size_t) const
|
||||
bool ConsoleDevice::can_read(const Kernel::OpenFileDescription&, u64) const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user