From 3b95a5b3f6ff4541f5162acd20f3f54dd8a5339c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 20 Mar 2015 21:49:23 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@12457 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FavContacts/src/contact_cache.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/FavContacts/src/contact_cache.cpp') 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; -- cgit v1.2.3