diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-04 02:55:38 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-10-04 02:55:38 +0200 |
| commit | d8de88f25cfa7cc7a46ee8913ba1338f67aaeac5 (patch) | |
| tree | 4431cf4f504b5d4d644ca88b87775a3f36e0b4d9 /dev/kernel/NeKit/ErrorOr.h | |
| parent | ee64ca1014ee2bdf07bd5011f6aa9f77da104a4d (diff) | |
feat: kernel: codebase improvements.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/NeKit/ErrorOr.h')
| -rw-r--r-- | dev/kernel/NeKit/ErrorOr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/kernel/NeKit/ErrorOr.h b/dev/kernel/NeKit/ErrorOr.h index e8b3b6fc..09f0cad5 100644 --- a/dev/kernel/NeKit/ErrorOr.h +++ b/dev/kernel/NeKit/ErrorOr.h @@ -13,7 +13,7 @@ #include <NeKit/Ref.h> namespace Kernel { -using ErrorT = UInt; +using ErrorT = UInt32; template <typename T> class ErrorOr final { @@ -50,7 +50,7 @@ class ErrorOr final { private: Ref<T> mRef; - Int32 mId{0}; + ErrorT mId{0}; }; using ErrorOrAny = ErrorOr<voidPtr>; |
