citra_qt/camera: silent signed array index warning (#4829)

This commit is contained in:
Weiyi Wang 2019-07-14 13:26:06 -04:00 committed by Ben
parent 32f832a81f
commit 1c5a55b3cb
2 changed files with 4 additions and 4 deletions

View file

@ -241,7 +241,7 @@ void ConfigureCamera::timerEvent(QTimerEvent* event) {
void ConfigureCamera::SetConfiguration() {
int index = GetSelectedCameraIndex();
for (int i = 0; i < Implementations.size(); i++) {
for (std::size_t i = 0; i < Implementations.size(); i++) {
if (Implementations[i] == camera_name[index]) {
ui->image_source->setCurrentIndex(i);
}