diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2005-07-12 04:23:32 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2005-07-12 04:23:32 +0000 |
commit | d5ebf62bed594d1fe6ab616a6bbcbcf0a5892d47 (patch) | |
tree | 4b03760892a97a9bc452ebe8b7793bbebd402ad4 /adler32.cpp | |
parent | fa39f51809b4da54a5c2adb3e183b1a625cefb92 (diff) | |
download | cryptopp-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 'adler32.cpp')
-rw-r--r-- | adler32.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/adler32.cpp b/adler32.cpp index 5811d5c..0d52c08 100644 --- a/adler32.cpp +++ b/adler32.cpp @@ -5,7 +5,7 @@ NAMESPACE_BEGIN(CryptoPP) -void Adler32::Update(const byte *input, unsigned int length) +void Adler32::Update(const byte *input, size_t length) { const unsigned long BASE = 65521; @@ -53,7 +53,7 @@ void Adler32::Update(const byte *input, unsigned int length) m_s2 = (word16)s2; } -void Adler32::TruncatedFinal(byte *hash, unsigned int size) +void Adler32::TruncatedFinal(byte *hash, size_t size) { ThrowIfInvalidTruncatedSize(size); |