Skip to content

Commit

Permalink
Last Os-MacOs warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanBertrand committed Apr 10, 2024
1 parent cc9abc1 commit e206b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Os/MacOs/SystemResources.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ kern_return_t cpu_by_index(U32 cpu_index, FwSizeType& used, FwSizeType& total) {
if (cpu_count <= cpu_index) {
stat = KERN_FAILURE;
} else if (KERN_SUCCESS == stat) {
FW_ASSERT(cpu_count > cpu_index, cpu_count, cpu_index); // Will fail if the CPU count changes while running
FW_ASSERT(cpu_count > cpu_index, static_cast<FwAssertArgType>(cpu_count), static_cast<FwAssertArgType>(cpu_index)); // Will fail if the CPU count changes while running
processor_cpu_load_info per_cpu_info = cpu_load_info[(cpu_count > cpu_index) ? cpu_index : 0];

// Total the ticks across the different states: idle, system, user, etc...
Expand Down

0 comments on commit e206b6d

Please sign in to comment.