mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-29 18:25:36 +00:00
yuzu/config: Silence truncation warnings
This commit is contained in:
parent
f96bb2520b
commit
f5f35caf20
|
@ -680,7 +680,7 @@ void Config::SaveValues() {
|
|||
qt_config->setValue("title_id", QVariant::fromValue<u64>(elem.first));
|
||||
qt_config->beginWriteArray("disabled");
|
||||
for (std::size_t j = 0; j < elem.second.size(); ++j) {
|
||||
qt_config->setArrayIndex(j);
|
||||
qt_config->setArrayIndex(static_cast<int>(j));
|
||||
qt_config->setValue("d", QString::fromStdString(elem.second[j]));
|
||||
}
|
||||
qt_config->endArray();
|
||||
|
|
Loading…
Reference in a new issue