diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-11 13:52:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-11 13:52:01 +0000 |
commit | a15cd68f0412e1b211e746a2e4d5682e96f5a113 (patch) | |
tree | d09d41832621cfc07957dbbcd60077fdf96b7e66 /plugins/CryptoPP/src/utf8.cpp | |
parent | 85bd008c039eb1d93894e94fba9d158a42a71a12 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP/src/utf8.cpp')
-rw-r--r-- | plugins/CryptoPP/src/utf8.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CryptoPP/src/utf8.cpp b/plugins/CryptoPP/src/utf8.cpp index e6b9602161..77c13fa3bc 100644 --- a/plugins/CryptoPP/src/utf8.cpp +++ b/plugins/CryptoPP/src/utf8.cpp @@ -45,13 +45,13 @@ LPSTR __cdecl utf8encode(LPCWSTR str) LPWSTR __cdecl utf8decode(LPCSTR str)
{
- int i, len;
+ int i;
LPSTR p;
// LPWSTR wszOut;
if (str == NULL) return NULL;
- len = strlen(str) + 1;
+ size_t len = strlen(str) + 1;
SAFE_FREE(wszOut);
if ((wszOut = (LPWSTR)malloc(len*sizeof(WCHAR))) == NULL)
|