diff options
author | Sergey Yershov <syershov@maps.me> | 2016-12-19 18:57:30 +0300 |
---|---|---|
committer | Sergey Yershov <syershov@maps.me> | 2016-12-20 13:54:08 +0300 |
commit | 07cf333622995e81f4dffc7a8efef999c1395936 (patch) | |
tree | fb06b3d255665fac5e7778bae6896d9b1a0a263b /coding/zlib.cpp | |
parent | 6aaa267d7286eaf746a94c3ba62f9231b7ffcfeb (diff) |
Fix warnings in coding
Diffstat (limited to 'coding/zlib.cpp')
-rw-r--r-- | coding/zlib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coding/zlib.cpp b/coding/zlib.cpp index e1646d2f91..f54cc574b4 100644 --- a/coding/zlib.cpp +++ b/coding/zlib.cpp @@ -25,7 +25,7 @@ ZLib::Processor::Processor(void const * data, size_t size) noexcept : m_init(fal // zconf.h. So, for portability, const_cast<...> is used here, but // in any case, zlib does not modify |data|. m_stream.next_in = static_cast<unsigned char *>(const_cast<void *>(data)); - m_stream.avail_in = size; + m_stream.avail_in = static_cast<unsigned int>(size); m_stream.next_out = m_buffer; m_stream.avail_out = kBufferSize; |