summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-30 02:05:40 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-01 03:11:26 +0300
commita39f63cdfa5ce15b22f294a8bb1db3a036ce462d (patch)
tree4de71bde947cae0cf5d3196cd97e82f5bc537c5c /src/utils/stringutils.cpp
parent02ec4369acfbf261236631e20dbb76131e7889f8 (diff)
downloadmanaverse-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.tar.gz
manaverse-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.tar.bz2
manaverse-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.tar.xz
manaverse-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.zip
One part of fixes after auto checking.
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r--src/utils/stringutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index b1e464005..5ec7fb931 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -196,14 +196,14 @@ const std::string findSameSubstringI(const std::string &s1,
return s1.substr(0, minLength);
}
-unsigned long findI(std::string str, std::string subStr)
+size_t findI(std::string str, std::string subStr)
{
str = toLower(str);
subStr = toLower(subStr);
return str.find(subStr);
}
-unsigned long findI(std::string text, StringVect &list)
+size_t findI(std::string text, StringVect &list)
{
std::string str = toLower(text);
unsigned long idx;