mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-30 16:34:18 +01: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 New Issue
Block a user