mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07: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