summaryrefslogtreecommitdiff
path: root/Kernel/TTY/SlavePTY.cpp
diff options
context:
space:
mode:
authorJean-Baptiste Boric <jblbeurope@gmail.com>2021-03-17 13:18:51 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-17 23:22:42 +0100
commitb05b4d4b249e7f0025ddf27544c1972e32af80c8 (patch)
treea4437fdb7b200fa19b6f5368f0b894761fd2ab09 /Kernel/TTY/SlavePTY.cpp
parent999c57ef2dffb36e15c51aa99d4921122caad6ee (diff)
downloadserenity-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.cpp2
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;