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/cpp_gzip.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/CryptoPP/cpp_gzip.cpp') diff --git a/plugins/CryptoPP/cpp_gzip.cpp b/plugins/CryptoPP/cpp_gzip.cpp index c819779677..36a4ae7e20 100644 --- a/plugins/CryptoPP/cpp_gzip.cpp +++ b/plugins/CryptoPP/cpp_gzip.cpp @@ -1,7 +1,7 @@ #include "commonheaders.h" // gzip data -BYTE *cpp_gzip(BYTE *pData, int nLen, int& nCompressedLen) { +BYTE *cpp_gzip(BYTE *pData, size_t nLen, size_t& nCompressedLen) { string zipped; Gzip gzip(new StringSink(zipped),5); // 1 is fast, 9 is slow @@ -16,7 +16,7 @@ BYTE *cpp_gzip(BYTE *pData, int nLen, int& nCompressedLen) { } // gunzip data -BYTE *cpp_gunzip(BYTE *pCompressedData, int nCompressedLen, int& nLen) { +BYTE *cpp_gunzip(BYTE *pCompressedData, size_t nCompressedLen, size_t& nLen) { string unzipped; Gunzip gunzip(new StringSink(unzipped)); -- cgit v1.2.3