From 109877a3c75cb290c55755dcfc88794d2453669d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 30 Mar 2013 17:32:39 +0000 Subject: MS_DB_EVENT_* services remained, but their calls removed git-svn-id: http://svn.miranda-ng.org/main/trunk@4255 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SmileyAdd/src/regexp/WCPattern.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/SmileyAdd/src') diff --git a/plugins/SmileyAdd/src/regexp/WCPattern.cpp b/plugins/SmileyAdd/src/regexp/WCPattern.cpp index 26a4054dfe..3ab5e35f88 100644 --- a/plugins/SmileyAdd/src/regexp/WCPattern.cpp +++ b/plugins/SmileyAdd/src/regexp/WCPattern.cpp @@ -153,7 +153,7 @@ bool WCPattern::quantifyCurly(int & sNum, int & eNum) { bool good = 1; int i, ci = curInd + 1; - int commaInd = ci, endInd = ci, len = pattern.size(); + int commaInd = ci, endInd = ci, len = (int)pattern.size(); sNum = eNum = 0; while (endInd < len && pattern[endInd ] != (wchar_t)'}') ++endInd; @@ -325,7 +325,7 @@ bkstring WCPattern::parseClass() if (pattern[++curInd] != (wchar_t)'[') { raiseError(); - curInd = pattern.size(); + curInd = (int)pattern.size(); } else { @@ -340,7 +340,7 @@ bkstring WCPattern::parseClass() if (quo) { raiseError(); - curInd = pattern.size(); + curInd = (int)pattern.size(); } else if (inv || t.size() > 1) // cant be part of a range (a-z) { @@ -361,7 +361,7 @@ bkstring WCPattern::parseClass() if (quo) { raiseError(); - curInd = pattern.size(); + curInd = (int)pattern.size(); } else if (inv || t.size() > 1) raiseError(); else ret = classUnion(ret, classCreateRange(c1, c2)); @@ -369,7 +369,7 @@ bkstring WCPattern::parseClass() else if (c2 == (wchar_t)'[' || c2 == (wchar_t)']' || c2 == (wchar_t)'-' || c2 == (wchar_t)'&') { raiseError(); - curInd = pattern.size(); + curInd = (int)pattern.size(); } else ret = classUnion(ret, classCreateRange(c1, c2)); } @@ -393,7 +393,7 @@ bkstring WCPattern::parseClass() if (quo) { raiseError(); - curInd = pattern.size(); + curInd = (int)pattern.size(); } else if (inv || t.size() > 1) raiseError(); else ret = classUnion(ret, classCreateRange(c1, c2)); @@ -401,7 +401,7 @@ bkstring WCPattern::parseClass() else if (c2 == (wchar_t)'[' || c2 == (wchar_t)']' || c2 == (wchar_t)'-' || c2 == (wchar_t)'&') { raiseError(); - curInd = pattern.size(); + curInd = (int)pattern.size(); } else { -- cgit v1.2.3