summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
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 136fe347..a66de0b5 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1026,7 +1026,7 @@ void do_parse()
{
chatWindow->chat_log(chatMsg, BY_PLAYER);
- unsigned int pos = chatMsg.find(" : ", 0);
+ unsigned long int pos = chatMsg.find(" : ", 0);
if (pos != std::string::npos)
{
chatMsg.erase(0, pos + 3);