DolphinQt: fix -Wsign-compare warning

This commit is contained in:
Tillmann Karras 2020-07-24 16:50:37 +01:00
parent 750cb1f830
commit 5bd2b2699c

View File

@ -465,7 +465,7 @@ void ThreadWidget::OnSelectionChanged(int row)
{
Common::Debug::PartialContext context;
if (row >= 0 && row < m_threads.size())
if (row >= 0 && size_t(row) < m_threads.size())
context = m_threads[row]->GetContext();
UpdateThreadContext(context);