mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Fix -Wsign-compare warnings
This commit is contained in:
@ -20,7 +20,7 @@ bool TASCheckBox::GetValue() const
|
||||
if (checkState() == Qt::PartiallyChecked)
|
||||
{
|
||||
const u64 frames_elapsed = Movie::GetCurrentFrame() - m_frame_turbo_started;
|
||||
return frames_elapsed % m_turbo_total_frames < m_turbo_press_frames;
|
||||
return static_cast<int>(frames_elapsed % m_turbo_total_frames) < m_turbo_press_frames;
|
||||
}
|
||||
|
||||
return isChecked();
|
||||
|
Reference in New Issue
Block a user