summaryrefslogtreecommitdiff
path: root/zinflate.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-06-19 09:13:32 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2004-06-19 09:13:32 +0000
commit4291b1ca1a471e146fb7e31767423a23f5b0f097 (patch)
tree5c6d12e3bf5acc84dad3091dadf0be9bebdf93dd /zinflate.cpp
parentad1e538a9740ed8c761a6003b45aa2382cc866c0 (diff)
downloadcryptopp-4291b1ca1a471e146fb7e31767423a23f5b0f097.tar.gz
*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@170 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'zinflate.cpp')
-rw-r--r--zinflate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zinflate.cpp b/zinflate.cpp
index ff83e11..f8d5b4b 100644
--- a/zinflate.cpp
+++ b/zinflate.cpp
@@ -239,7 +239,7 @@ void Inflator::OutputString(const byte *string, unsigned int length)
{
while (length)
{
- unsigned int len = STDMIN(length, unsigned int(m_window.size() - m_current));
+ unsigned int len = STDMIN(length, (unsigned int)(m_window.size() - m_current));
memcpy(m_window + m_current, string, len);
m_current += len;
if (m_current == m_window.size())