summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorDanila Malyutin <danilaml@users.noreply.github.com>2023-09-02 19:45:06 +0200
committerDanila Malyutin <danilaml@users.noreply.github.com>2023-09-03 16:42:10 +0200
commit785e480b62f4ed306e389300a533c73f4e03e2bd (patch)
tree3374c36560b8645f2c0a39e950793e0ce8c5163d /src/yuzu_cmd
parentMerge pull request #11430 from liamwhite/validation-error-whats-that (diff)
downloadyuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.tar
yuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.tar.gz
yuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.tar.bz2
yuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.tar.lz
yuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.tar.xz
yuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.tar.zst
yuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.zip
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/yuzu.cpp2
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) {
password = match[2];
address = match[3];
if (!match[4].str().empty())
- port = std::stoi(match[4]);
+ port = static_cast<u16>(std::stoi(match[4]));
std::regex nickname_re("^[a-zA-Z0-9._\\- ]+$");
if (!std::regex_match(nickname, nickname_re)) {
std::cout