summaryrefslogtreecommitdiff
path: root/Kernel/ProcFS.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-25 22:06:55 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-25 22:06:55 +0100
commit9624b54703f87a690dab7d5c59c37f53ad47594e (patch)
tree6c12fca22fea816236585e850916efd3535c37b9 /Kernel/ProcFS.h
parentbeda4788216509fdf846e5bb6f6000b8b542ca11 (diff)
downloadserenity-9624b54703f87a690dab7d5c59c37f53ad47594e.zip
More moving towards using signed types.
I'm still feeling this out, but I am starting to like the general idea.
Diffstat (limited to 'Kernel/ProcFS.h')
-rw-r--r--Kernel/ProcFS.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/ProcFS.h b/Kernel/ProcFS.h
index f2b0e0a0e0..bc4d139cb8 100644
--- a/Kernel/ProcFS.h
+++ b/Kernel/ProcFS.h
@@ -76,13 +76,13 @@ public:
private:
// ^Inode
- virtual ssize_t read_bytes(off_t, size_t, byte* buffer, FileDescriptor*) const override;
+ virtual ssize_t read_bytes(off_t, ssize_t, byte* buffer, FileDescriptor*) const override;
virtual InodeMetadata metadata() const override;
virtual bool traverse_as_directory(Function<bool(const FS::DirectoryEntry&)>) const override;
virtual InodeIdentifier lookup(const String& name) override;
virtual String reverse_lookup(InodeIdentifier) override;
virtual void flush_metadata() override;
- virtual ssize_t write_bytes(off_t, size_t, const byte* buffer, FileDescriptor*) override;
+ virtual ssize_t write_bytes(off_t, ssize_t, const byte* buffer, FileDescriptor*) override;
virtual bool add_child(InodeIdentifier child_id, const String& name, byte file_type, int& error) override;
virtual bool remove_child(const String& name, int& error) override;
virtual RetainPtr<Inode> parent() const override;