mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:37:45 +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
|
@ -90,7 +90,7 @@ bool SlavePTY::can_write(const OpenFileDescription&, size_t) const
|
|||
return m_master->can_write_from_slave();
|
||||
}
|
||||
|
||||
bool SlavePTY::can_read(const OpenFileDescription& description, size_t offset) const
|
||||
bool SlavePTY::can_read(const OpenFileDescription& description, u64 offset) const
|
||||
{
|
||||
if (m_master->is_closed())
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue