diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/compression/zlib/zlib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/compression/zlib/zlib.cpp b/src/lib/compression/zlib/zlib.cpp index c8f8757b1..b352519fd 100644 --- a/src/lib/compression/zlib/zlib.cpp +++ b/src/lib/compression/zlib/zlib.cpp @@ -121,7 +121,7 @@ class Gzip_Compression_Stream : public Zlib_Compression_Stream { std::memset(&m_header, 0, sizeof(m_header)); m_header.os = os_code; - m_header.time = std::time(0); + m_header.time = std::time(nullptr); int rc = deflateSetHeader(streamp(), &m_header); if(rc != Z_OK) |