summaryrefslogtreecommitdiff
path: root/Kernel/Graphics/GenericFramebufferDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Graphics/GenericFramebufferDevice.h')
-rw-r--r--Kernel/Graphics/GenericFramebufferDevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Graphics/GenericFramebufferDevice.h b/Kernel/Graphics/GenericFramebufferDevice.h
index 197bea761d..6c21041c9f 100644
--- a/Kernel/Graphics/GenericFramebufferDevice.h
+++ b/Kernel/Graphics/GenericFramebufferDevice.h
@@ -34,7 +34,7 @@ public:
private:
// ^File
virtual bool can_read(const OpenFileDescription&, u64) const override final { return true; }
- virtual bool can_write(const OpenFileDescription&, size_t) const override final { return true; }
+ virtual bool can_write(const OpenFileDescription&, u64) const override final { return true; }
virtual void start_request(AsyncBlockDeviceRequest& request) override final { request.complete(AsyncDeviceRequest::Failure); }
virtual ErrorOr<size_t> read(OpenFileDescription&, u64, UserOrKernelBuffer&, size_t) override { return EINVAL; }
virtual ErrorOr<size_t> write(OpenFileDescription&, u64, const UserOrKernelBuffer&, size_t) override { return EINVAL; }