mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
Kernel: Fix all compiler warnings.
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 13:31:04 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/46a06c23e30
@@ -139,8 +139,9 @@ ByteBuffer DiskBackedFS::read_blocks(unsigned index, unsigned count) const
|
||||
return blocks;
|
||||
}
|
||||
|
||||
void DiskBackedFS::set_block_size(unsigned block_size)
|
||||
void DiskBackedFS::set_block_size(int block_size)
|
||||
{
|
||||
ASSERT(block_size > 0);
|
||||
if (block_size == m_block_size)
|
||||
return;
|
||||
m_block_size = block_size;
|
||||
|
||||
Reference in New Issue
Block a user