diff options
author | George Hazan <george.hazan@gmail.com> | 2016-05-13 20:27:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-05-13 20:27:01 +0000 |
commit | 690f3c5828685ffc3c2a11d8d68e4c0b1cf5f0ba (patch) | |
tree | 6fe6df105c8ffcefb5e3c0bfe59b14bfa2d1acbe /protocols/IcqOscarJ/src/i18n.cpp | |
parent | 37c98eaad76b7f1bf86c75fe2c32cf6aa11f7c6f (diff) |
major memory leak in ICQ cookie module
git-svn-id: http://svn.miranda-ng.org/main/trunk@16829 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/i18n.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/i18n.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IcqOscarJ/src/i18n.cpp b/protocols/IcqOscarJ/src/i18n.cpp index 2dfc79d17a..fa855d55ee 100644 --- a/protocols/IcqOscarJ/src/i18n.cpp +++ b/protocols/IcqOscarJ/src/i18n.cpp @@ -368,7 +368,7 @@ int __stdcall utf8_decode_codepage(const char *from, char **to, WORD wCp) }
int err = WideCharToMultiByte(wCp, WC_COMPOSITECHECK, unicode, -1, *to, (int)chars, NULL, NULL);
- if (err != chars) {
+ if (err != (int)chars) {
#ifdef _DEBUG
fprintf(stderr, "Unicode translation error %d\n", GetLastError());
#endif
|