diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5651a98b6..efb4c4135 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -166,7 +166,7 @@ static void parseOptions(const int argc, char *const argv[], options.serverName = optarg; break; case 'p': - options.serverPort = static_cast<short>(atoi(optarg)); + options.serverPort = static_cast<uint16_t>(atoi(optarg)); break; case 'u': options.skipUpdate = true; |