yuzu: config: Silence narrowing conversion warning on MSVC

This commit is contained in:
Morph committed 2021-04-28 22:42:56 -04:00
1 parent 60db565a5f
commit f4f67c448a
1 file changed
+1 -2
+1 -2
View File
@@ -863,8 +863,7 @@ void Config::ReadSystemValues() {
Settings::values.rng_seed.SetGlobal(rng_seed_global);
if (global || !rng_seed_global) {
if (rng_seed_enabled) {
Settings::values.rng_seed.SetValue(
ReadSetting(QStringLiteral("rng_seed"), 0).toULongLong());
Settings::values.rng_seed.SetValue(ReadSetting(QStringLiteral("rng_seed"), 0).toUInt());
} else {
Settings::values.rng_seed.SetValue(std::nullopt);
}