yuzu_cmd/config: Silent implicit cast warning

master
ReinUsesLisp 2019-03-09 03:58:20 +07:00
parent 9909d40530
commit fedef7bda3
1 changed files with 1 additions and 1 deletions

@ -366,7 +366,7 @@ void Config::ReadValues() {
Settings::values.enable_audio_stretching =
sdl2_config->GetBoolean("Audio", "enable_audio_stretching", true);
Settings::values.audio_device_id = sdl2_config->Get("Audio", "output_device", "auto");
Settings::values.volume = sdl2_config->GetReal("Audio", "volume", 1);
Settings::values.volume = static_cast<float>(sdl2_config->GetReal("Audio", "volume", 1));
Settings::values.language_index = sdl2_config->GetInteger("System", "language_index", 1);