aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/compression/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/compression/zlib')
-rw-r--r--src/lib/compression/zlib/zlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/compression/zlib/zlib.cpp b/src/lib/compression/zlib/zlib.cpp
index 10581b739..8c94e4331 100644
--- a/src/lib/compression/zlib/zlib.cpp
+++ b/src/lib/compression/zlib/zlib.cpp
@@ -120,7 +120,7 @@ class Gzip_Compression_Stream : public Zlib_Compression_Stream
Gzip_Compression_Stream(size_t level, int wbits, byte os_code) :
Zlib_Compression_Stream(level, wbits, 16)
{
- std::memset(&m_header, 0, sizeof(m_header));
+ clear_mem(&m_header, 1);
m_header.os = os_code;
m_header.time = std::time(nullptr);