diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2020-07-24 16:50:37 +0100 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2020-07-24 17:44:32 +0100 |
| commit | 5bd2b2699cfe08081301e8dc4a43dc06d87f2db1 (patch) | |
| tree | 791d0d1f6a4062eb40c620a06712adc9bd55bbd9 /Source/Core/DolphinQt/Debugger/ThreadWidget.cpp | |
| parent | 750cb1f83002d99beeac1164b7856dd4fb7b9e55 (diff) | |
DolphinQt: fix -Wsign-compare warning
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/ThreadWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/ThreadWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp b/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp index 89f880fc1a..eb67e2ad7d 100644 --- a/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp @@ -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); |
