From e5a3c2d7177d5fcea980d5862b648b08f58662ef Mon Sep 17 00:00:00 2001 From: lloyd Date: Sat, 6 Dec 2014 13:02:46 +0000 Subject: Nullptr cleanup --- src/lib/compression/zlib/zlib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/compression') 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) -- cgit v1.2.3