From 9f254b1146ddefeebc229558414d5944d059b380 Mon Sep 17 00:00:00 2001 From: weidai Date: Sat, 19 Jun 2004 09:01:35 +0000 Subject: [PATCH] *** empty log message *** --- zinflate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zinflate.cpp b/zinflate.cpp index 34613370..ff83e111 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())