summaryrefslogtreecommitdiff
path: root/zinflate.cpp
diff options
context:
space:
mode:
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 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())