mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
Kernel: Make File::truncate() take a u64
No point in taking a signed type here. We validate at the syscall layer and then pass around a u64 from then on.
This commit is contained in:
parent
42d41fdf94
commit
7291370478
11 changed files with 12 additions and 12 deletions
|
@ -130,7 +130,7 @@ public:
|
|||
|
||||
void set_original_inode(Badge<VFS>, NonnullRefPtr<Inode>&& inode) { m_inode = move(inode); }
|
||||
|
||||
KResult truncate(off_t);
|
||||
KResult truncate(u64);
|
||||
|
||||
off_t offset() const { return m_current_offset; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue