mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Kernel: Use u64 instead of size_t for File::can_read offset
This ensures offsets will not be truncated on large files on i686.
This commit is contained in:
parent
0c630d5687
commit
9ce537d703
Notes:
sideshowbarker
2024-07-17 20:14:26 +09:00
Author: https://github.com/IdanHo
Commit: 9ce537d703
Pull-request: https://github.com/SerenityOS/serenity/pull/12132
Reviewed-by: https://github.com/bgianfo ✅
Reviewed-by: https://github.com/tomuta ✅
47 changed files with 47 additions and 47 deletions
|
@ -29,7 +29,7 @@ UNMAP_AFTER_INIT FullDevice::~FullDevice()
|
|||
{
|
||||
}
|
||||
|
||||
bool FullDevice::can_read(const OpenFileDescription&, size_t) const
|
||||
bool FullDevice::can_read(const OpenFileDescription&, u64) const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue