From 77dc0a650819b460480e1c0be5409fc322a6d2a4 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 4 Sep 2025 10:25:56 +0200 Subject: fix: CoreProcessScheduler.h: use `Int32` instead of `Int`. Signed-off-by: Amlal El Mahrouss --- dev/kernel/KernelKit/CoreProcessScheduler.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'dev/kernel') 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(lhs); - Int32 rhs_int = static_cast(rhs); + Int32 lhs_int = static_cast(lhs); + Int32 rhs_int = static_cast(rhs); return lhs_int < rhs_int; } inline bool operator>(AffinityKind lhs, AffinityKind rhs) { - Int32 lhs_int = static_cast(lhs); - Int32 rhs_int = static_cast(rhs); + Int32 lhs_int = static_cast(lhs); + Int32 rhs_int = static_cast(rhs); return lhs_int > rhs_int; } inline bool operator<=(AffinityKind lhs, AffinityKind rhs) { Int32 lhs_int = static_cast(lhs); - Int32 rhs_int = static_cast(rhs); + Int32 rhs_int = static_cast(rhs); return lhs_int <= rhs_int; } inline bool operator>=(AffinityKind lhs, AffinityKind rhs) { - Int32 lhs_int = static_cast(lhs); - Int32 rhs_int = static_cast(rhs); + Int32 lhs_int = static_cast(lhs); + Int32 rhs_int = static_cast(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; -- cgit v1.2.3