Skip to content

Commit

Permalink
Fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealLaxity committed Aug 7, 2024
1 parent 0f7e69f commit b71aa44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ namespace Editor

const auto fetch_cycle_color = [&](const int inValue) -> const Color
{
return inValue < m_CPUUsageMediumRasterlines ? color_cpu_usage_low : (inValue < m_CPUUsageHighRasterlines ? color_cpu_usage_medium : color_cpu_usage_high);
return inValue < static_cast<int>(m_CPUUsageMediumRasterlines) ? color_cpu_usage_low : (inValue < static_cast<int>(m_CPUUsageHighRasterlines) ? color_cpu_usage_medium : color_cpu_usage_high);
};

DrawColoredFilled(fetch_cycle_value, fetch_cycle_color);
Expand Down

0 comments on commit b71aa44

Please sign in to comment.