mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +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:
@@ -22,7 +22,7 @@ InodeWatcher::~InodeWatcher()
|
||||
(void)close();
|
||||
}
|
||||
|
||||
bool InodeWatcher::can_read(const OpenFileDescription&, size_t) const
|
||||
bool InodeWatcher::can_read(const OpenFileDescription&, u64) const
|
||||
{
|
||||
MutexLocker locker(m_lock);
|
||||
return !m_queue.is_empty();
|
||||
|
||||
Reference in New Issue
Block a user