mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Fix -Wsign-compare warnings
This commit is contained in:
parent
4b7f784d1b
commit
82f1e6204d
4 changed files with 8 additions and 5 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue