summaryrefslogtreecommitdiff
path: root/zlib.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2005-07-12 04:23:32 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2005-07-12 04:23:32 +0000
commitd5ebf62bed594d1fe6ab616a6bbcbcf0a5892d47 (patch)
tree4b03760892a97a9bc452ebe8b7793bbebd402ad4 /zlib.cpp
parentfa39f51809b4da54a5c2adb3e183b1a625cefb92 (diff)
downloadcryptopp-d5ebf62bed594d1fe6ab616a6bbcbcf0a5892d47.tar.gz
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
Diffstat (limited to 'zlib.cpp')
-rw-r--r--zlib.cpp4
1 files changed, 2 insertions, 2 deletions
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);