From b05b4d4b249e7f0025ddf27544c1972e32af80c8 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Boric Date: Wed, 17 Mar 2021 13:18:51 +0100 Subject: Kernel: Refactor storage stack with u64 as file operations offset --- Kernel/TTY/MasterPTY.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Kernel/TTY/MasterPTY.cpp') diff --git a/Kernel/TTY/MasterPTY.cpp b/Kernel/TTY/MasterPTY.cpp index 791541e275..bffbd4a871 100644 --- a/Kernel/TTY/MasterPTY.cpp +++ b/Kernel/TTY/MasterPTY.cpp @@ -62,14 +62,14 @@ String MasterPTY::pts_name() const return m_pts_name; } -KResultOr MasterPTY::read(FileDescription&, size_t, UserOrKernelBuffer& buffer, size_t size) +KResultOr MasterPTY::read(FileDescription&, u64, UserOrKernelBuffer& buffer, size_t size) { if (!m_slave && m_buffer.is_empty()) return 0; return m_buffer.read(buffer, size); } -KResultOr MasterPTY::write(FileDescription&, size_t, const UserOrKernelBuffer& buffer, size_t size) +KResultOr MasterPTY::write(FileDescription&, u64, const UserOrKernelBuffer& buffer, size_t size) { if (!m_slave) return EIO; -- cgit v1.2.3