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 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())