From 761682b6254a3d43e65ff45e07683c61afa6f1e4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 31 Mar 2012 16:54:22 +0300 Subject: Last part of fixes. --- src/net/tmwa/chathandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa/chathandler.cpp') diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp index 2323631cb..b3bf8b536 100644 --- a/src/net/tmwa/chathandler.cpp +++ b/src/net/tmwa/chathandler.cpp @@ -150,7 +150,7 @@ void ChatHandler::sendRaw(const std::string &args) if (line == "") return; - std::string::size_type pos = line.find(" "); + size_t pos = line.find(" "); if (pos != std::string::npos) { str = line.substr(0, pos); @@ -179,7 +179,7 @@ void ChatHandler::sendRaw(const std::string &args) void ChatHandler::processRaw(MessageOut &outMsg, std::string &line) { - std::string::size_type pos = line.find(":"); + size_t pos = line.find(":"); if (pos == std::string::npos) { int i = atoi(line.c_str()); -- cgit v1.2.3-60-g2f50