diff options
author | Jean-Baptiste Boric <jblbeurope@gmail.com> | 2021-03-17 13:18:51 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-17 23:22:42 +0100 |
commit | b05b4d4b249e7f0025ddf27544c1972e32af80c8 (patch) | |
tree | a4437fdb7b200fa19b6f5368f0b894761fd2ab09 /Kernel/TTY/SlavePTY.cpp | |
parent | 999c57ef2dffb36e15c51aa99d4921122caad6ee (diff) | |
download | serenity-b05b4d4b249e7f0025ddf27544c1972e32af80c8.zip |
Kernel: Refactor storage stack with u64 as file operations offset
Diffstat (limited to 'Kernel/TTY/SlavePTY.cpp')
-rw-r--r-- | Kernel/TTY/SlavePTY.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/TTY/SlavePTY.cpp b/Kernel/TTY/SlavePTY.cpp index 5c7b93d2eb..f9a081fb8b 100644 --- a/Kernel/TTY/SlavePTY.cpp +++ b/Kernel/TTY/SlavePTY.cpp @@ -93,7 +93,7 @@ bool SlavePTY::can_read(const FileDescription& description, size_t offset) const return TTY::can_read(description, offset); } -KResultOr<size_t> SlavePTY::read(FileDescription& description, size_t offset, UserOrKernelBuffer& buffer, size_t size) +KResultOr<size_t> SlavePTY::read(FileDescription& description, u64 offset, UserOrKernelBuffer& buffer, size_t size) { if (m_master->is_closed()) return 0; |