mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:17:35 +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:
parent
0c630d5687
commit
9ce537d703
47 changed files with 47 additions and 47 deletions
|
@ -56,7 +56,7 @@ UNMAP_AFTER_INIT SerialDevice::~SerialDevice()
|
|||
{
|
||||
}
|
||||
|
||||
bool SerialDevice::can_read(const OpenFileDescription&, size_t) const
|
||||
bool SerialDevice::can_read(const OpenFileDescription&, u64) const
|
||||
{
|
||||
return (get_line_status() & DataReady) != 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue