diff options
author | Cedric Borgese <cedric.borgese@gmail.com> | 2005-09-30 15:56:56 +0000 |
---|---|---|
committer | Cedric Borgese <cedric.borgese@gmail.com> | 2005-09-30 15:56:56 +0000 |
commit | 232c094b842e1540e9fd4b719894c4b3a4136659 (patch) | |
tree | cb048e3cadff00e90dd58b24f17b94c3f41c8a04 /src/game.cpp | |
parent | 9c47ba3ff3ec99825317c884786e1a194d686921 (diff) | |
download | mana-232c094b842e1540e9fd4b719894c4b3a4136659.tar.gz mana-232c094b842e1540e9fd4b719894c4b3a4136659.tar.bz2 mana-232c094b842e1540e9fd4b719894c4b3a4136659.tar.xz mana-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.cpp | 2 |
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); |