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/guildmanager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/guildmanager.cpp') diff --git a/src/guildmanager.cpp b/src/guildmanager.cpp index e7ca24587..485320130 100644 --- a/src/guildmanager.cpp +++ b/src/guildmanager.cpp @@ -273,7 +273,7 @@ bool GuildManager::process(std::string msg) if (!guild) return false; // logger->log("welcome message: %s", msg.c_str()); - std::string::size_type pos = msg.find("! ("); + size_t pos = msg.find("! ("); if (pos == std::string::npos) return false; msg = msg.substr(0, pos); @@ -290,7 +290,7 @@ bool GuildManager::process(std::string msg) Guild *guild = createGuild(); if (!guild) return false; - std::string::size_type pos = msg.find("Access Level: "); + size_t pos = msg.find("Access Level: "); if (pos == std::string::npos) return false; @@ -401,7 +401,7 @@ bool GuildManager::process(std::string msg) } if (mTab) { - std::string::size_type pos = msg.find(": ", 0); + size_t pos = msg.find(": ", 0); if (pos != std::string::npos) { std::string sender_name = ((pos == std::string::npos) -- cgit v1.2.3-70-g09d2