summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/MemoryStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibCore/MemoryStream.h')
-rw-r--r--Userland/Libraries/LibCore/MemoryStream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCore/MemoryStream.h b/Userland/Libraries/LibCore/MemoryStream.h
index 590e702b59..9ae0f53b54 100644
--- a/Userland/Libraries/LibCore/MemoryStream.h
+++ b/Userland/Libraries/LibCore/MemoryStream.h
@@ -28,7 +28,7 @@ public:
virtual ErrorOr<void> truncate(off_t) override;
virtual ErrorOr<Bytes> read(Bytes bytes) override;
- virtual ErrorOr<off_t> seek(i64 offset, SeekMode seek_mode = SeekMode::SetPosition) override;
+ virtual ErrorOr<size_t> seek(i64 offset, SeekMode seek_mode = SeekMode::SetPosition) override;
virtual ErrorOr<size_t> write(ReadonlyBytes bytes) override;
virtual ErrorOr<void> write_entire_buffer(ReadonlyBytes bytes) override;