diff options
author | George Hazan <george.hazan@gmail.com> | 2015-03-20 21:49:23 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-03-20 21:49:23 +0000 |
commit | 3b95a5b3f6ff4541f5162acd20f3f54dd8a5339c (patch) | |
tree | 50134fd16c3b04ed2f5b7449482fca14277d8571 /plugins/FavContacts/src | |
parent | 3f403397d35d601078423e84d61ab0c1cce6203e (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@12457 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FavContacts/src')
-rw-r--r-- | plugins/FavContacts/src/contact_cache.cpp | 4 |
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;
|