From e750e8644fb332c5cb9cc11a7a7cb6c2778e53e8 Mon Sep 17 00:00:00 2001 From: watcherhd Date: Tue, 29 Nov 2011 16:23:03 +0000 Subject: another part of small project fixes and x64 adaptation in some cases git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@229 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- IEView/TextToken.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IEView/TextToken.cpp') diff --git a/IEView/TextToken.cpp b/IEView/TextToken.cpp index bfa2913..632a915 100644 --- a/IEView/TextToken.cpp +++ b/IEView/TextToken.cpp @@ -649,7 +649,7 @@ void TextToken::toString(wchar_t **str, int *sizeAlloced) { if (match != NULL) { match += 2; wchar_t *match2 = wcsstr(match, L"&"); - int len = match2 != NULL ? match2 - match : wcslen(match); + int len = match2 != NULL ? match2 - match : (int)wcslen(match); match = mir_wstrdup(match); match[len] = 0; int width ; -- cgit v1.2.3