diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2004-06-19 09:01:35 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2004-06-19 09:01:35 +0000 |
commit | ad1e538a9740ed8c761a6003b45aa2382cc866c0 (patch) | |
tree | 1255e12d24d5d3f4784027c0d387dc99f946cd92 /zinflate.cpp | |
parent | 5283f5059b14d63ed0ed54c8384890320fbb9ec6 (diff) | |
download | cryptopp-ad1e538a9740ed8c761a6003b45aa2382cc866c0.tar.gz |
*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@169 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'zinflate.cpp')
-rw-r--r-- | zinflate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zinflate.cpp b/zinflate.cpp index 3461337..ff83e11 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, 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()) |