diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-03 21:47:03 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-03 21:47:03 +0000 |
commit | e412759d7e551e3fc4dc4be6e1fae1cd4f308868 (patch) | |
tree | 00ed12238ba8b3735ddf95cf9e79c48d7c411c78 /plugins/CryptoPP/cpp_svcs.cpp | |
parent | 0f95cbb4a9f1c9a613dccb9d53f5ddb50a8cadd7 (diff) |
no more PLUGININFOEX::replacesDefaultModule, that old & nasty clutch
since now all Myranda plugins are binary incompatible with Miranda's
git-svn-id: http://svn.miranda-ng.org/main/trunk@743 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP/cpp_svcs.cpp')
-rw-r--r-- | plugins/CryptoPP/cpp_svcs.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/CryptoPP/cpp_svcs.cpp b/plugins/CryptoPP/cpp_svcs.cpp index 2b99003a2a..e2a1dd9053 100644 --- a/plugins/CryptoPP/cpp_svcs.cpp +++ b/plugins/CryptoPP/cpp_svcs.cpp @@ -10,8 +10,7 @@ LPSTR __cdecl cpp_encrypt(pCNTX ptr, LPCSTR szPlainMsg) pSIMDATA p = (pSIMDATA) ptr->pdata;
BYTE dataflag = 0;
- int clen,slen;
- slen = strlen(szPlainMsg);
+ size_t clen, slen = strlen(szPlainMsg);
LPSTR szMsg;
if (ptr->features & FEATURES_GZIP) {
@@ -69,7 +68,7 @@ LPSTR __cdecl cpp_decrypt(pCNTX ptr, LPCSTR szEncMsg) ptr->error = ERROR_SEH;
pSIMDATA p = (pSIMDATA) ptr->pdata;
- int clen = strlen(szEncMsg);
+ size_t clen = strlen(szEncMsg);
if (ptr->features & FEATURES_BASE64)
ciphered = base64decode(szEncMsg,&clen);
|