mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +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:
@@ -17,7 +17,7 @@ UNMAP_AFTER_INIT NonnullRefPtr<DeviceControlDevice> DeviceControlDevice::must_cr
|
||||
return device_control_device_or_error.release_value();
|
||||
}
|
||||
|
||||
bool DeviceControlDevice::can_read(const OpenFileDescription&, size_t) const
|
||||
bool DeviceControlDevice::can_read(const OpenFileDescription&, u64) const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user