summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-19 15:40:09 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-19 15:40:09 +0000
commit9556b03ca5f9cb26b16b414faaaea90559843e0c (patch)
treef8aedc9957fdbccf5630fc28d1d29c49fb4a5dc3 /plugins/StopSpamMod
parent9e42bd2436c360a0ddb9d526c991ad8a46e9db9a (diff)
unused helper removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14263 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StopSpamMod')
-rwxr-xr-xplugins/StopSpamMod/src/utilities.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/StopSpamMod/src/utilities.cpp b/plugins/StopSpamMod/src/utilities.cpp
index 8c67f36c0e..c4f350208d 100755
--- a/plugins/StopSpamMod/src/utilities.cpp
+++ b/plugins/StopSpamMod/src/utilities.cpp
@@ -129,8 +129,8 @@ const int Stricmp(const TCHAR *str, const TCHAR *substr)
TCHAR *str_up = NEWTSTR_MALLOC(str);
TCHAR *substr_up = NEWTSTR_MALLOC(substr);
- CharUpperBuff(str_up, mir_tstrlen(str_up));
- CharUpperBuff(substr_up, mir_tstrlen(substr_up));
+ CharUpperBuff(str_up, (int)mir_tstrlen(str_up));
+ CharUpperBuff(substr_up, (int)mir_tstrlen(substr_up));
i = mir_tstrcmp(str_up, substr_up);
@@ -189,7 +189,7 @@ BOOL IsUrlContains(TCHAR * Str)
if(Str && mir_tstrlen(Str)>0) {
TCHAR *StrLower = NEWTSTR_MALLOC(Str);
- CharLowerBuff(StrLower, mir_tstrlen(StrLower));
+ CharLowerBuff(StrLower, (int)mir_tstrlen(StrLower));
for (int i=0; i<CountUrl; i++)
if(_tcsstr (StrLower, URL[i]))
{