mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
Kernel: Fix compiling TmpFSInode::write_bytes on x86_64
This commit is contained in:
parent
15e25a8c1f
commit
441d6dcdf9
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ KResultOr<size_t> TmpFSInode::write_bytes(off_t offset, size_t size, const UserO
|
|||
|
||||
off_t old_size = m_metadata.size;
|
||||
off_t new_size = m_metadata.size;
|
||||
if ((offset + size) > new_size)
|
||||
if (offset + size > (size_t)new_size)
|
||||
new_size = offset + size;
|
||||
|
||||
if (new_size > old_size) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue