summaryrefslogtreecommitdiff
path: root/basecode.h
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 /basecode.h
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 'basecode.h')
-rw-r--r--basecode.h8
1 files changed, 4 insertions, 4 deletions
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 &parameters);
- 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 &parameters);
- 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 &parameters);
- 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