summaryrefslogtreecommitdiff
path: root/Kernel/Storage/StorageDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Storage/StorageDevice.cpp')
-rw-r--r--Kernel/Storage/StorageDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Storage/StorageDevice.cpp b/Kernel/Storage/StorageDevice.cpp
index 4624f6c489..54e7defa53 100644
--- a/Kernel/Storage/StorageDevice.cpp
+++ b/Kernel/Storage/StorageDevice.cpp
@@ -180,7 +180,7 @@ StringView StorageDevice::early_storage_name() const
return m_early_storage_device_name->view();
}
-bool StorageDevice::can_write(const OpenFileDescription&, size_t offset) const
+bool StorageDevice::can_write(const OpenFileDescription&, u64 offset) const
{
return offset < (max_addressable_block() * block_size());
}