diff options
Diffstat (limited to 'src/net/ea/chathandler.cpp')
-rw-r--r-- | src/net/ea/chathandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp index e31f68596..d44830644 100644 --- a/src/net/ea/chathandler.cpp +++ b/src/net/ea/chathandler.cpp @@ -265,7 +265,7 @@ void ChatHandler::processBeingChat(Net::MessageIn &msg) if (being->getType() == Being::PLAYER) being->setTalkTime(); - std::string::size_type pos = chatMsg.find(" : ", 0); + size_t pos = chatMsg.find(" : ", 0); std::string sender_name = ((pos == std::string::npos) ? "" : chatMsg.substr(0, pos)); @@ -306,7 +306,7 @@ void ChatHandler::processChat(Net::MessageIn &msg, bool normalChat) return; std::string chatMsg = msg.readRawString(chatMsgLength); - std::string::size_type pos = chatMsg.find(" : ", 0); + size_t pos = chatMsg.find(" : ", 0); if (normalChat) { |