summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/FIFO.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/FIFO.cpp')
-rw-r--r--Kernel/FileSystem/FIFO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/FIFO.cpp b/Kernel/FileSystem/FIFO.cpp
index a8072f1d8b..a4edad37d9 100644
--- a/Kernel/FileSystem/FIFO.cpp
+++ b/Kernel/FileSystem/FIFO.cpp
@@ -104,7 +104,7 @@ bool FIFO::can_read(const OpenFileDescription&, u64) const
return !m_buffer->is_empty() || !m_writers;
}
-bool FIFO::can_write(const OpenFileDescription&, size_t) const
+bool FIFO::can_write(const OpenFileDescription&, u64) const
{
return m_buffer->space_for_writing() || !m_readers;
}