diff options
author | George Hazan <george.hazan@gmail.com> | 2012-12-06 19:19:57 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-12-06 19:19:57 +0000 |
commit | 05cb3ed52210da707e2bf42d4d1eccb0ea55f4af (patch) | |
tree | dc6ca569316854e2ee1ed950617ec8ffdff48de0 /plugins/CryptoPP/src/cpp_pgpw.cpp | |
parent | 5d01efc9987afc9ac4f9ae52244e2b423db043b3 (diff) |
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@2670 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP/src/cpp_pgpw.cpp')
-rw-r--r-- | plugins/CryptoPP/src/cpp_pgpw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CryptoPP/src/cpp_pgpw.cpp b/plugins/CryptoPP/src/cpp_pgpw.cpp index 8633690009..7a70a99607 100644 --- a/plugins/CryptoPP/src/cpp_pgpw.cpp +++ b/plugins/CryptoPP/src/cpp_pgpw.cpp @@ -258,7 +258,7 @@ LPSTR __cdecl pgp_decode(HANDLE context, LPCSTR szEncMsg) if (szOldMsg) {
if ( !is_7bit_string(szOldMsg) && !is_utf8_string(szOldMsg) ) {
- size_t slen = strlen(szOldMsg)+1;
+ int slen = (int)strlen(szOldMsg)+1;
LPWSTR wszMsg = (LPWSTR) alloca(slen*sizeof(WCHAR));
MultiByteToWideChar(CP_ACP, 0, szOldMsg, -1, wszMsg, slen*sizeof(WCHAR));
szNewMsg = _strdup(utf8encode(wszMsg));
|