mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 08:15:07 +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
|
@ -51,7 +51,7 @@ public:
|
|||
|
||||
virtual String absolute_path(const FileDescription&) const override;
|
||||
|
||||
virtual KResult truncate(off_t) override;
|
||||
virtual KResult truncate(u64) override;
|
||||
virtual KResult chown(uid_t, gid_t) override;
|
||||
virtual KResult chmod(mode_t) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue