mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-26 23:11:21 -08: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->setValue("title_id", QVariant::fromValue<u64>(elem.first));
|
||||||
qt_config->beginWriteArray("disabled");
|
qt_config->beginWriteArray("disabled");
|
||||||
for (std::size_t j = 0; j < elem.second.size(); ++j) {
|
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->setValue("d", QString::fromStdString(elem.second[j]));
|
||||||
}
|
}
|
||||||
qt_config->endArray();
|
qt_config->endArray();
|
||||||
|
Loading…
Reference in New Issue
Block a user