yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

yuzu/config: Silence truncation warnings

This commit is contained in:
Lioncash 2018-12-31 19:11:29 -05:00
parent f96bb2520b
commit f5f35caf20
1 changed files with 1 additions and 1 deletions

View File

@ -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();