citra_qt: Resolve C4267 warning on MSVC
This commit is contained in:
@ -256,7 +256,7 @@ void ConfigureCamera::SetConfiguration() {
|
||||
int index = GetSelectedCameraIndex();
|
||||
for (std::size_t i = 0; i < Implementations.size(); i++) {
|
||||
if (Implementations[i] == camera_name[index]) {
|
||||
ui->image_source->setCurrentIndex(i);
|
||||
ui->image_source->setCurrentIndex(static_cast<int>(i));
|
||||
}
|
||||
}
|
||||
if (camera_name[index] == "image") {
|
||||
|
Reference in New Issue
Block a user