diff options
Diffstat (limited to 'Kernel/Devices/HID/MouseDevice.h')
-rw-r--r-- | Kernel/Devices/HID/MouseDevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/HID/MouseDevice.h b/Kernel/Devices/HID/MouseDevice.h index a39f2cb014..d80d4fcce3 100644 --- a/Kernel/Devices/HID/MouseDevice.h +++ b/Kernel/Devices/HID/MouseDevice.h @@ -26,7 +26,7 @@ public: virtual ErrorOr<size_t> read(OpenFileDescription&, u64, UserOrKernelBuffer&, size_t) override; virtual bool can_read(const OpenFileDescription&, u64) const override; virtual ErrorOr<size_t> write(OpenFileDescription&, u64, const UserOrKernelBuffer&, size_t) override { return EINVAL; } - virtual bool can_write(const OpenFileDescription&, size_t) const override { return true; } + virtual bool can_write(const OpenFileDescription&, u64) const override { return true; } // ^HIDDevice virtual Type instrument_type() const override { return Type::Mouse; } |