diff options
author | lloyd <[email protected]> | 2014-12-06 13:02:46 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-12-06 13:02:46 +0000 |
commit | e5a3c2d7177d5fcea980d5862b648b08f58662ef (patch) | |
tree | e9869da7e845b290287801c335448831c43c2fbb /src/lib/compression/zlib | |
parent | ff65075db4e94b53592e5645be06c3c6e5823eca (diff) |
Nullptr cleanup
Diffstat (limited to 'src/lib/compression/zlib')
-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) |