summaryrefslogtreecommitdiff
path: root/src/client.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/client.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/client.cpp')
-rw-r--r--src/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 45d8ff2e3..6cd3967fc 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -474,7 +474,7 @@ void Client::gameInit()
CFBundleRef mainBundle = CFBundleGetMainBundle();
CFURLRef resourcesURL = CFBundleCopyResourcesDirectoryURL(mainBundle);
char path[PATH_MAX];
- if (!CFURLGetFileSystemRepresentation(resourcesURL, TRUE, (UInt8 *)path,
+ if (!CFURLGetFileSystemRepresentation(resourcesURL, TRUE, (uint8_t*)path,
PATH_MAX))
{
fprintf(stderr, "Can't find Resources directory\n");
@@ -654,7 +654,7 @@ void Client::gameInit()
if (mCurrentServer.port == 0)
{
- mCurrentServer.port = static_cast<short>(branding.getValue(
+ mCurrentServer.port = static_cast<uint16_t>(branding.getValue(
"defaultPort", DEFAULT_PORT));
mCurrentServer.type = ServerInfo::parseType(
branding.getValue("defaultServerType", "tmwathena"));