summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hgzip.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:25:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:25:38 +0200
commit3c7a66a031331abdb6ed3134e2f1936a6eb5fbb0 (patch)
treefddfefae8c6a46600c449aad5b7d9382d80b7c3b /hwpfilter/source/hgzip.cxx
parent9a1909a5d0900211727ac3077116c274c7f7bd8a (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I8a8ba86dd78e30146f7b9dd7071f5641d496a67a
Diffstat (limited to 'hwpfilter/source/hgzip.cxx')
-rw-r--r--hwpfilter/source/hgzip.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/hwpfilter/source/hgzip.cxx b/hwpfilter/source/hgzip.cxx
index baf3b20e43f5..915ea3135af7 100644
--- a/hwpfilter/source/hgzip.cxx
+++ b/hwpfilter/source/hgzip.cxx
@@ -61,9 +61,9 @@ gz_stream *gz_open(HStream & _stream)
s = static_cast<gz_stream *>(ALLOC(sizeof(gz_stream)));
if (!s)
return Z_NULL;
- s->stream.zalloc = (alloc_func) 0;
- s->stream.zfree = (free_func) 0;
- s->stream.opaque = (voidpf) 0;
+ s->stream.zalloc = nullptr;
+ s->stream.zfree = nullptr;
+ s->stream.opaque = nullptr;
s->stream.next_in = s->inbuf = Z_NULL;
s->stream.next_out = s->outbuf = Z_NULL;
s->stream.avail_in = s->stream.avail_out = 0;