diff options
| author | 2023-09-06 09:12:58 -0400 | |
|---|---|---|
| committer | 2023-09-06 09:12:58 -0400 | |
| commit | 5e424d791bd98c18a81a36405a419237abcc8116 (patch) | |
| tree | dd83795955a607612d27f324bdb1bfab63de2c38 /src/yuzu_cmd/yuzu.cpp | |
| parent | Merge pull request #11437 from liamwhite/dump-shenanigans (diff) | |
| parent | msvc: set warning level to /W4 globally (diff) | |
| download | yuzu-5e424d791bd98c18a81a36405a419237abcc8116.tar.gz yuzu-5e424d791bd98c18a81a36405a419237abcc8116.tar.xz yuzu-5e424d791bd98c18a81a36405a419237abcc8116.zip | |
Merge pull request #11434 from danilaml/fix-warnings
msvc: set warning level to /W4 globally
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
| -rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index d0433ffc6..c1695cc6e 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp | |||
| @@ -265,7 +265,7 @@ int main(int argc, char** argv) { | |||
| 265 | password = match[2]; | 265 | password = match[2]; |
| 266 | address = match[3]; | 266 | address = match[3]; |
| 267 | if (!match[4].str().empty()) | 267 | if (!match[4].str().empty()) |
| 268 | port = std::stoi(match[4]); | 268 | port = static_cast<u16>(std::stoi(match[4])); |
| 269 | std::regex nickname_re("^[a-zA-Z0-9._\\- ]+$"); | 269 | std::regex nickname_re("^[a-zA-Z0-9._\\- ]+$"); |
| 270 | if (!std::regex_match(nickname, nickname_re)) { | 270 | if (!std::regex_match(nickname, nickname_re)) { |
| 271 | std::cout | 271 | std::cout |