summaryrefslogtreecommitdiff
path: root/zinflate.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-04-06 21:20:25 +0000
committerweidai <weidai11@users.noreply.github.com>2006-04-06 21:20:25 +0000
commit6aacd0a0de141d218710374018412cca1893ad9d (patch)
tree34dba126863f587607debfecab883867f5f2d3dd /zinflate.cpp
parent254b0f0d4d307221e0328b8f4e892a9bc0d93765 (diff)
downloadcryptopp-git-6aacd0a0de141d218710374018412cca1893ad9d.tar.gz
merge in changes by denis bider and fix compile on gcc 3.4.4 and MSVC 6
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 4a43420f..4018e115 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())