summaryrefslogtreecommitdiff
path: root/zlib.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2005-07-12 04:23:32 +0000
committerweidai <weidai11@users.noreply.github.com>2005-07-12 04:23:32 +0000
commit1db8ea50840eb47f0f7d8f3c30d8e0916932ce90 (patch)
tree4b03760892a97a9bc452ebe8b7793bbebd402ad4 /zlib.cpp
parent31068bd68590654dc218bbb183a2ca71bb4af08b (diff)
downloadcryptopp-git-1db8ea50840eb47f0f7d8f3c30d8e0916932ce90.tar.gz
port to MSVC .NET 2005 beta 2
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 6195965e..4abafb01 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);