diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-31 16:54:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-01 03:56:16 +0300 |
commit | 761682b6254a3d43e65ff45e07683c61afa6f1e4 (patch) | |
tree | 2ee462840f3aadb1e96bfa5c6784ec2cc0d2861a /src/net/tmwa | |
parent | a39f63cdfa5ce15b22f294a8bb1db3a036ce462d (diff) | |
download | mv-761682b6254a3d43e65ff45e07683c61afa6f1e4.tar.gz mv-761682b6254a3d43e65ff45e07683c61afa6f1e4.tar.bz2 mv-761682b6254a3d43e65ff45e07683c61afa6f1e4.tar.xz mv-761682b6254a3d43e65ff45e07683c61afa6f1e4.zip |
Last part of fixes.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/chathandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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()); |