mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Remove warnings of -Wsign-compare
Cast the variable to the coresponding type.
This commit is contained in:
parent
62707986b7
commit
81f8099cc6
5 changed files with 11 additions and 11 deletions
|
@ -177,10 +177,10 @@ void AdvancedPane::Update()
|
|||
const bool enable_custom_rtc_widgets = SConfig::GetInstance().bEnableCustomRTC && !running;
|
||||
|
||||
const std::vector<PowerPC::CPUCore>& available_cpu_cores = PowerPC::AvailableCPUCores();
|
||||
for (int i = 0; i < available_cpu_cores.size(); ++i)
|
||||
for (size_t i = 0; i < available_cpu_cores.size(); ++i)
|
||||
{
|
||||
if (available_cpu_cores[i] == SConfig::GetInstance().cpu_core)
|
||||
m_cpu_emulation_engine_combobox->setCurrentIndex(i);
|
||||
m_cpu_emulation_engine_combobox->setCurrentIndex(int(i));
|
||||
}
|
||||
m_cpu_emulation_engine_combobox->setEnabled(!running);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue