summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorCedric Borgese <cedric.borgese@gmail.com>2005-09-30 15:56:56 +0000
committerCedric Borgese <cedric.borgese@gmail.com>2005-09-30 15:56:56 +0000
commit232c094b842e1540e9fd4b719894c4b3a4136659 (patch)
treecb048e3cadff00e90dd58b24f17b94c3f41c8a04 /src/game.cpp
parent9c47ba3ff3ec99825317c884786e1a194d686921 (diff)
downloadmana-client-232c094b842e1540e9fd4b719894c4b3a4136659.tar.gz
mana-client-232c094b842e1540e9fd4b719894c4b3a4136659.tar.bz2
mana-client-232c094b842e1540e9fd4b719894c4b3a4136659.tar.xz
mana-client-232c094b842e1540e9fd4b719894c4b3a4136659.zip
Change an hardcoded type to a templated type to avoid architecture problems.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index a66de0b5..e2e121cd 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1026,7 +1026,7 @@ void do_parse()
{
chatWindow->chat_log(chatMsg, BY_PLAYER);
- unsigned long int pos = chatMsg.find(" : ", 0);
+ std::string::size_type pos = chatMsg.find(" : ", 0);
if (pos != std::string::npos)
{
chatMsg.erase(0, pos + 3);