diff --git a/kernel/include/kernel/OpenFileDescriptorSet.h b/kernel/include/kernel/OpenFileDescriptorSet.h index a5fa506750..2c4a8a58db 100644 --- a/kernel/include/kernel/OpenFileDescriptorSet.h +++ b/kernel/include/kernel/OpenFileDescriptorSet.h @@ -44,7 +44,7 @@ namespace Kernel private: struct OpenFileDescription : public BAN::RefCounted { - OpenFileDescription(BAN::RefPtr inode, BAN::String path, off_t offset, uint8_t flags) + OpenFileDescription(BAN::RefPtr inode, BAN::String path, off_t offset, int flags) : inode(inode) , path(BAN::move(path)) , offset(offset) @@ -54,7 +54,7 @@ namespace Kernel BAN::RefPtr inode; BAN::String path; off_t offset { 0 }; - uint8_t flags { 0 }; + int flags { 0 }; friend class BAN::RefPtr; };