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 --- basecode.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'basecode.h') diff --git a/basecode.h b/basecode.h index f252d56..8f0b213 100644 --- a/basecode.h +++ b/basecode.h @@ -24,7 +24,7 @@ public: } void IsolatedInitialize(const NameValuePairs ¶meters); - unsigned int Put2(const byte *begin, unsigned int length, int messageEnd, bool blocking); + size_t Put2(const byte *begin, size_t length, int messageEnd, bool blocking); private: const byte *m_alphabet; @@ -47,7 +47,7 @@ public: } void IsolatedInitialize(const NameValuePairs ¶meters); - unsigned int Put2(const byte *begin, unsigned int length, int messageEnd, bool blocking); + size_t Put2(const byte *begin, size_t length, int messageEnd, bool blocking); static void InitializeDecodingLookupArray(int *lookup, const byte *alphabet, unsigned int base, bool caseInsensitive); @@ -74,11 +74,11 @@ public: } void IsolatedInitialize(const NameValuePairs ¶meters); - unsigned int Put2(const byte *begin, unsigned int length, int messageEnd, bool blocking); + size_t Put2(const byte *begin, size_t length, int messageEnd, bool blocking); private: SecByteBlock m_separator, m_terminator; - unsigned int m_groupSize, m_counter; + size_t m_groupSize, m_counter; }; NAMESPACE_END -- cgit v1.2.1