diff options
author | Danila Malyutin <danilaml@users.noreply.github.com> | 2023-09-02 21:45:06 +0400 |
---|---|---|
committer | Danila Malyutin <danilaml@users.noreply.github.com> | 2023-09-03 18:42:10 +0400 |
commit | 785e480b62f4ed306e389300a533c73f4e03e2bd (patch) | |
tree | 3374c36560b8645f2c0a39e950793e0ce8c5163d /src/yuzu/configuration/shared_widget.cpp | |
parent | 89a2d48cf8c05f0de31ad001a2506a478f595dee (diff) |
msvc: set warning level to /W4 globally
And fix a bunch of warnings
Diffstat (limited to 'src/yuzu/configuration/shared_widget.cpp')
-rw-r--r-- | src/yuzu/configuration/shared_widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/configuration/shared_widget.cpp b/src/yuzu/configuration/shared_widget.cpp index 7721e58f9..d63093985 100644 --- a/src/yuzu/configuration/shared_widget.cpp +++ b/src/yuzu/configuration/shared_widget.cpp @@ -194,7 +194,7 @@ QWidget* Widget::CreateRadioGroup(std::function<std::string()>& serializer, return group; } - const auto get_selected = [=]() -> u32 { + const auto get_selected = [=]() -> int { for (const auto& [id, button] : radio_buttons) { if (button->isChecked()) { return id; |