summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-01-01 01:11:29 +0100
committerLioncash <mathew1800@gmail.com>2019-01-01 01:11:29 +0100
commitf5f35caf2073075687e9f44e619fcf958950f262 (patch)
treeee5de92dc94ca0350b52701b47b328746a5969a0
parentMerge pull request #1966 from lioncash/backtrace (diff)
downloadyuzu-f5f35caf2073075687e9f44e619fcf958950f262.tar
yuzu-f5f35caf2073075687e9f44e619fcf958950f262.tar.gz
yuzu-f5f35caf2073075687e9f44e619fcf958950f262.tar.bz2
yuzu-f5f35caf2073075687e9f44e619fcf958950f262.tar.lz
yuzu-f5f35caf2073075687e9f44e619fcf958950f262.tar.xz
yuzu-f5f35caf2073075687e9f44e619fcf958950f262.tar.zst
yuzu-f5f35caf2073075687e9f44e619fcf958950f262.zip
-rw-r--r--src/yuzu/configuration/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp
index c4349ccc8..c6079acb8 100644
--- a/src/yuzu/configuration/config.cpp
+++ b/src/yuzu/configuration/config.cpp
@@ -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();