diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-15 06:24:19 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-15 06:24:19 +0100 |
| commit | b0410ff37c15380e4409711bb14cc3880a9dc536 (patch) | |
| tree | 01876afb97dffe67913e16611564f360fc0ebfdb /src/kernel/NeKit/Macros.h | |
| parent | 62af164abe47951b8291b4162af08c69b5f2af21 (diff) | |
feat: kernel: bitmapmgr and heapmgr improvements.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/NeKit/Macros.h')
| -rw-r--r-- | src/kernel/NeKit/Macros.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/NeKit/Macros.h b/src/kernel/NeKit/Macros.h index c0fc57f4..3a6e26fa 100644 --- a/src/kernel/NeKit/Macros.h +++ b/src/kernel/NeKit/Macros.h @@ -15,7 +15,7 @@ #endif #ifndef kib_cast -#define kib_cast(X) (Kernel::UInt64)((X) * 1024) +#define kib_cast(X) (Kernel::UInt64)((X) *1024) #endif #ifndef MIB @@ -116,7 +116,7 @@ #define NE_UNUSED(X) ((Kernel::Void) X) #ifndef RGB -#define RGB(R, G, B) ((Kernel::UInt32) ((0xFF << 24) | ((R) << 16) | ((G) << 8) | (B))) +#define RGB(R, G, B) ((Kernel::UInt32)((0xFF << 24) | ((R) << 16) | ((G) << 8) | (B))) #endif // !RGB #ifdef __NE_AMD64__ |
