mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:04:57 +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
|
@ -614,7 +614,7 @@ void TCPSocket::retransmit_packets()
|
|||
});
|
||||
}
|
||||
|
||||
bool TCPSocket::can_write(const OpenFileDescription& file_description, size_t size) const
|
||||
bool TCPSocket::can_write(const OpenFileDescription& file_description, u64 size) const
|
||||
{
|
||||
if (!IPv4Socket::can_write(file_description, size))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue