summaryrefslogtreecommitdiff
path: root/zinflate.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2004-06-19 09:13:32 +0000
committerweidai <weidai11@users.noreply.github.com>2004-06-19 09:13:32 +0000
commit7f2eb60bcadf0b51ebdd7ab656557c2c5c51d02d (patch)
tree5c6d12e3bf5acc84dad3091dadf0be9bebdf93dd /zinflate.cpp
parent9f254b1146ddefeebc229558414d5944d059b380 (diff)
downloadcryptopp-git-7f2eb60bcadf0b51ebdd7ab656557c2c5c51d02d.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 ff83e111..f8d5b4b6 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())