summaryrefslogtreecommitdiff
path: root/tools/source/zcodec/zcodec.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:29:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:29:11 +0200
commit8ca53be757b16be721dbdd334459b962b15980e1 (patch)
tree0ccf60e5b7ada2ea5569b068eb1ee18f79e9f6fb /tools/source/zcodec/zcodec.cxx
parente5de5696a49bec2876526fb30c49b30ff299fe6d (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Iedee28da32a4333a414e06877f87851345bb4e9b
Diffstat (limited to 'tools/source/zcodec/zcodec.cxx')
-rw-r--r--tools/source/zcodec/zcodec.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/zcodec/zcodec.cxx b/tools/source/zcodec/zcodec.cxx
index b5c645ac92e2..ed21965e98b1 100644
--- a/tools/source/zcodec/zcodec.cxx
+++ b/tools/source/zcodec/zcodec.cxx
@@ -72,9 +72,9 @@ void ZCodec::BeginCompression( int nCompressLevel, bool updateCrc, bool gzLib )
mnCompressLevel = nCompressLevel;
mbUpdateCrc = updateCrc;
mbGzLib = gzLib;
- PZSTREAM->zalloc = ( alloc_func )0;
- PZSTREAM->zfree = ( free_func )0;
- PZSTREAM->opaque = ( voidpf )0;
+ PZSTREAM->zalloc = nullptr;
+ PZSTREAM->zfree = nullptr;
+ PZSTREAM->opaque = nullptr;
PZSTREAM->avail_out = PZSTREAM->avail_in = 0;
}