From 232c094b842e1540e9fd4b719894c4b3a4136659 Mon Sep 17 00:00:00 2001 From: Cedric Borgese Date: Fri, 30 Sep 2005 15:56:56 +0000 Subject: Change an hardcoded type to a templated type to avoid architecture problems. --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2