mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
Kernel: Use u64 instead of size_t for File::can_write offset
This ensures offsets will not be truncated on large files on i686.
This commit is contained in:
parent
9ce537d703
commit
664ca58746
40 changed files with 40 additions and 40 deletions
|
@ -280,7 +280,7 @@ bool LocalSocket::has_attached_peer(const OpenFileDescription& description) cons
|
|||
return false;
|
||||
}
|
||||
|
||||
bool LocalSocket::can_write(const OpenFileDescription& description, size_t) const
|
||||
bool LocalSocket::can_write(const OpenFileDescription& description, u64) const
|
||||
{
|
||||
auto role = this->role(description);
|
||||
if (role == Role::Accepted)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue