summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-10 14:33:00 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-10 14:33:00 +0300
commitaae328e272cdec136a1367cf83a5873a6b4963a9 (patch)
tree8388d89d96aca4be2fb506d7978c2d846a05307b /src/net/tmwa
parent26146784b5a41dd77d31d7713260c1343b575677 (diff)
downloadplus-aae328e272cdec136a1367cf83a5873a6b4963a9.tar.gz
plus-aae328e272cdec136a1367cf83a5873a6b4963a9.tar.bz2
plus-aae328e272cdec136a1367cf83a5873a6b4963a9.tar.xz
plus-aae328e272cdec136a1367cf83a5873a6b4963a9.zip
Fix compilation errors with stlport.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/charserverhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp
index e8c9dfaff..039010535 100644
--- a/src/net/tmwa/charserverhandler.cpp
+++ b/src/net/tmwa/charserverhandler.cpp
@@ -180,7 +180,7 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg,
PlayerInfoBackend &data = character->data;
data.mAttributes[PlayerInfo::EXP] = msg.readInt32();
data.mAttributes[PlayerInfo::MONEY] = msg.readInt32();
- Stat &jobStat = data.mStats[JOB];
+ Stat &jobStat = data.mStats[static_cast<size_t>(JOB)];
jobStat.exp = msg.readInt32();
const int temp = msg.readInt32();