summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-30 17:32:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-30 17:32:39 +0000
commit109877a3c75cb290c55755dcfc88794d2453669d (patch)
tree3ede8b9170b2fc3f6f35dc2cea6742d44b19d631 /plugins/SmileyAdd
parentfee8d991bdf4a59b563d1b92165ea0ed2f7bacb8 (diff)
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
Diffstat (limited to 'plugins/SmileyAdd')
-rw-r--r--plugins/SmileyAdd/src/regexp/WCPattern.cpp14
1 files changed, 7 insertions, 7 deletions
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
{