diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2006-04-06 21:20:25 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2006-04-06 21:20:25 +0000 |
commit | 82c4eb38804e011cfd855bc9e292f7533bfe4c2f (patch) | |
tree | 34dba126863f587607debfecab883867f5f2d3dd /zinflate.cpp | |
parent | 4c4b05b70d06e818417f6b4f879183a2f233c91b (diff) | |
download | cryptopp-82c4eb38804e011cfd855bc9e292f7533bfe4c2f.tar.gz |
merge in changes by denis bider and fix compile on gcc 3.4.4 and MSVC 6
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@219 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 4a43420..4018e11 100644 --- a/zinflate.cpp +++ b/zinflate.cpp @@ -242,7 +242,7 @@ void Inflator::OutputString(const byte *string, size_t length) { while (length) { - size_t len = STDMIN(length, m_window.size() - m_current); + size_t len = UnsignedMin(length, m_window.size() - m_current); memcpy(m_window + m_current, string, len); m_current += len; if (m_current == m_window.size()) |