summaryrefslogtreecommitdiff
path: root/plugins/FavContacts/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FavContacts/src')
-rw-r--r--plugins/FavContacts/src/contact_cache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/FavContacts/src/contact_cache.cpp b/plugins/FavContacts/src/contact_cache.cpp
index a72a24e8c8..6be8cc2543 100644
--- a/plugins/FavContacts/src/contact_cache.cpp
+++ b/plugins/FavContacts/src/contact_cache.cpp
@@ -169,8 +169,8 @@ TCHAR *nb_stristr(TCHAR *str, TCHAR *substr)
TCHAR *str_up = NEWTSTR_ALLOCA(str);
TCHAR *substr_up = NEWTSTR_ALLOCA(substr);
- CharUpperBuff(str_up, mir_tstrlen(str_up));
- CharUpperBuff(substr_up, mir_tstrlen(substr_up));
+ CharUpperBuff(str_up, (DWORD)mir_tstrlen(str_up));
+ CharUpperBuff(substr_up, (DWORD)mir_tstrlen(substr_up));
TCHAR *p = _tcsstr(str_up, substr_up);
return p ? (str + (p - str_up)) : NULL;