summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/colbase_words.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-22 18:58:01 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-22 18:58:01 +0300
commit38517d7f3b0a1dd04ee111fa721d9f4ec4c3a104 (patch)
tree8d84c985e25f99383f133ae925bce0413b90b16d /plugins/HistoryStats/src/colbase_words.cpp
parentdd9cf5468a032542f422f6301654d87b557c7cc4 (diff)
ughm
Diffstat (limited to 'plugins/HistoryStats/src/colbase_words.cpp')
-rw-r--r--plugins/HistoryStats/src/colbase_words.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryStats/src/colbase_words.cpp b/plugins/HistoryStats/src/colbase_words.cpp
index 8bb4840924..9f80ba1f92 100644
--- a/plugins/HistoryStats/src/colbase_words.cpp
+++ b/plugins/HistoryStats/src/colbase_words.cpp
@@ -131,8 +131,8 @@ void ColBaseWords::parseMsg(WordMap* pWords, const ext::string& msg, bool bOutgo
}
// start parsing into words if not already filtered
- ext::string::size_type firstChar = 0;
- ext::string::size_type nextSpace;
+ size_t firstChar = 0;
+ size_t nextSpace;
while (firstChar < msg.length() && getCharMapper()->mapChar(msg[firstChar]) == ' ')
++firstChar;