From d5ebf62bed594d1fe6ab616a6bbcbcf0a5892d47 Mon Sep 17 00:00:00 2001 From: weidai Date: Tue, 12 Jul 2005 04:23:32 +0000 Subject: port to MSVC .NET 2005 beta 2 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@198 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- zlib.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zlib.cpp') diff --git a/zlib.cpp b/zlib.cpp index 6195965..4abafb0 100644 --- a/zlib.cpp +++ b/zlib.cpp @@ -25,7 +25,7 @@ void ZlibCompressor::WritePrestreamHeader() AttachedTransformation()->PutWord16(RoundUpToMultipleOf(cmf*256+flags, 31)); } -void ZlibCompressor::ProcessUncompressedData(const byte *inString, unsigned int length) +void ZlibCompressor::ProcessUncompressedData(const byte *inString, size_t length) { m_adler32.Update(inString, length); } @@ -72,7 +72,7 @@ void ZlibDecompressor::ProcessPrestreamHeader() m_log2WindowSize = 8 + (cmf >> 4); } -void ZlibDecompressor::ProcessDecompressedData(const byte *inString, unsigned int length) +void ZlibDecompressor::ProcessDecompressedData(const byte *inString, size_t length) { AttachedTransformation()->Put(inString, length); m_adler32.Update(inString, length); -- cgit v1.2.1