From 9c47ba3ff3ec99825317c884786e1a194d686921 Mon Sep 17 00:00:00 2001
From: Cedric Borgese <cedric.borgese@gmail.com>
Date: Fri, 30 Sep 2005 15:51:53 +0000
Subject: Avoid a warning on x86_64 arch because std::string:npos is a long and
 it differs from int on that arch.

---
 src/game.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
cgit v1.2.3-70-g09d2