From e412759d7e551e3fc4dc4be6e1fae1cd4f308868 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 3 Jul 2012 21:47:03 +0000 Subject: 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 --- plugins/CryptoPP/base16.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/CryptoPP/base16.cpp') diff --git a/plugins/CryptoPP/base16.cpp b/plugins/CryptoPP/base16.cpp index 110eea0a9c..ace113ff76 100644 --- a/plugins/CryptoPP/base16.cpp +++ b/plugins/CryptoPP/base16.cpp @@ -18,7 +18,7 @@ char *base16encode(const char *inBuffer, int count) { } -char *base16decode(const char *inBuffer, int *count) { +char *base16decode(const char *inBuffer, size_t *count) { char *outBuffer = (char *) malloc(*count); BYTE *outBufferPtr = (BYTE *) outBuffer; @@ -54,9 +54,9 @@ char *base16decode(const char *inBuffer, int *count) { } -char *base16decode(const char *inBuffer) { - - int count = (int)strlen(inBuffer); +char *base16decode(const char *inBuffer) +{ + size_t count = strlen(inBuffer); return base16decode(inBuffer, &count); } -- cgit v1.2.3