From 623a64f2c96b71f8609eccb81cb04886ae390c7b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 19 Jan 2017 16:08:43 +0300 Subject: Dump on startup linked and loaded lib versions. For now only zlib supported. Also detect zlib by pkgconfig in configure. --- src/resources/mapreader.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/resources') diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index 9156f334d..cfce7c397 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -128,9 +128,9 @@ int inflateMemory(unsigned char *restrict const in, out = static_cast(calloc(bufferSize, 1)); z_stream strm; - strm.zalloc = Z_NULL; - strm.zfree = Z_NULL; - strm.opaque = Z_NULL; + strm.zalloc = nullptr; + strm.zfree = nullptr; + strm.opaque = nullptr; strm.next_in = in; strm.avail_in = inLength; strm.next_out = out; -- cgit v1.2.3-60-g2f50