mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user