From 690f3c5828685ffc3c2a11d8d68e4c0b1cf5f0ba Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 13 May 2016 20:27:01 +0000 Subject: major memory leak in ICQ cookie module git-svn-id: http://svn.miranda-ng.org/main/trunk@16829 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/src/i18n.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/IcqOscarJ/src/i18n.cpp') 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 -- cgit v1.2.3