summaryrefslogtreecommitdiff
path: root/Kernel/Devices/SerialDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/SerialDevice.cpp')
-rw-r--r--Kernel/Devices/SerialDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/SerialDevice.cpp b/Kernel/Devices/SerialDevice.cpp
index 573be81326..65ed9fe49f 100644
--- a/Kernel/Devices/SerialDevice.cpp
+++ b/Kernel/Devices/SerialDevice.cpp
@@ -77,7 +77,7 @@ ErrorOr<size_t> SerialDevice::read(OpenFileDescription&, u64, UserOrKernelBuffer
});
}
-bool SerialDevice::can_write(const OpenFileDescription&, size_t) const
+bool SerialDevice::can_write(const OpenFileDescription&, u64) const
{
return (get_line_status() & EmptyTransmitterHoldingRegister) != 0;
}