summaryrefslogtreecommitdiff
path: root/zinflate.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2004-06-19 09:01:35 +0000
committerweidai <weidai11@users.noreply.github.com>2004-06-19 09:01:35 +0000
commit9f254b1146ddefeebc229558414d5944d059b380 (patch)
tree1255e12d24d5d3f4784027c0d387dc99f946cd92 /zinflate.cpp
parentf78fccb3cc8c2375bd0b474a33c43b1cd22a325c (diff)
downloadcryptopp-git-9f254b1146ddefeebc229558414d5944d059b380.tar.gz
*** empty log message ***
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 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())