diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-09-04 10:25:56 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-09-04 10:25:56 +0200 |
| commit | 77dc0a650819b460480e1c0be5409fc322a6d2a4 (patch) | |
| tree | 66ebc7e2cb99a0e54ca7b2da4b617ceed6e98a3d | |
| parent | be11411ae7c2f6a2eda84abf56521d38a8b80b7e (diff) | |
fix: CoreProcessScheduler.h: use `Int32` instead of `Int`.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
| -rw-r--r-- | dev/kernel/KernelKit/CoreProcessScheduler.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dev/kernel/KernelKit/CoreProcessScheduler.h b/dev/kernel/KernelKit/CoreProcessScheduler.h index 9ed2dada..f40ffc81 100644 --- a/dev/kernel/KernelKit/CoreProcessScheduler.h +++ b/dev/kernel/KernelKit/CoreProcessScheduler.h @@ -182,29 +182,29 @@ enum class AffinityKind : Int32 { /***********************************************************************************/ inline bool operator<(AffinityKind lhs, AffinityKind rhs) { - Int32 lhs_int = static_cast<Int>(lhs); - Int32 rhs_int = static_cast<Int>(rhs); + Int32 lhs_int = static_cast<Int32>(lhs); + Int32 rhs_int = static_cast<Int32>(rhs); return lhs_int < rhs_int; } inline bool operator>(AffinityKind lhs, AffinityKind rhs) { - Int32 lhs_int = static_cast<Int>(lhs); - Int32 rhs_int = static_cast<Int>(rhs); + Int32 lhs_int = static_cast<Int32>(lhs); + Int32 rhs_int = static_cast<Int32>(rhs); return lhs_int > rhs_int; } inline bool operator<=(AffinityKind lhs, AffinityKind rhs) { Int32 lhs_int = static_cast<Int>(lhs); - Int32 rhs_int = static_cast<Int>(rhs); + Int32 rhs_int = static_cast<Int32>(rhs); return lhs_int <= rhs_int; } inline bool operator>=(AffinityKind lhs, AffinityKind rhs) { - Int32 lhs_int = static_cast<Int>(lhs); - Int32 rhs_int = static_cast<Int>(rhs); + Int32 lhs_int = static_cast<Int32>(lhs); + Int32 rhs_int = static_cast<Int32>(rhs); return lhs_int >= rhs_int; } @@ -213,7 +213,7 @@ using PTime = UInt64; using ProcessTime = PTime; /***********************************************************************************/ -//! @brief Local Process identifier. +//! @brief Local Process Identifier type. /***********************************************************************************/ using ProcessID = Int64; |
