summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-21 18:57:48 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-21 18:57:48 +0300
commit35cfd460655878c9a615abc8ea1cb2f7577a7f3b (patch)
tree2b4cb899f7f442912f89de30f4a5ab0add0727ce /src/main.cpp
parentcfe4c893ba4ba30379919636d3c508ebf1594e23 (diff)
downloadmanaverse-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.gz
manaverse-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.bz2
manaverse-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.tar.xz
manaverse-35cfd460655878c9a615abc8ea1cb2f7577a7f3b.zip
some other fixes from cpplint.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
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;