mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:18:11 +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
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue