diff options
author | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-29 16:23:03 +0000 |
---|---|---|
committer | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-11-29 16:23:03 +0000 |
commit | e750e8644fb332c5cb9cc11a7a7cb6c2778e53e8 (patch) | |
tree | 395848b08150ea7d8e6278f4294d52c5f785b2e5 /IEView/TextToken.cpp | |
parent | ea0738678d7d729b6bbd1c9c37d3914fcc7df0d9 (diff) |
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
Diffstat (limited to 'IEView/TextToken.cpp')
-rw-r--r-- | IEView/TextToken.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 ;
|