summaryrefslogtreecommitdiff
path: root/Kernel/KeyboardDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/KeyboardDevice.h')
-rw-r--r--Kernel/KeyboardDevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/KeyboardDevice.h b/Kernel/KeyboardDevice.h
index fb8e9fc28b..aebc6b6d93 100644
--- a/Kernel/KeyboardDevice.h
+++ b/Kernel/KeyboardDevice.h
@@ -22,9 +22,9 @@ public:
void set_client(KeyboardClient* client) { m_client = client; }
// ^CharacterDevice
- virtual ssize_t read(Process&, byte* buffer, size_t) override;
+ virtual ssize_t read(Process&, byte* buffer, ssize_t) override;
virtual bool can_read(Process&) const override;
- virtual ssize_t write(Process&, const byte* buffer, size_t) override;
+ virtual ssize_t write(Process&, const byte* buffer, ssize_t) override;
virtual bool can_write(Process&) const override { return true; }
private: