summaryrefslogtreecommitdiff
path: root/package/source/zipapi/Inflater.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-17 18:50:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:50 +0100
commit00173d8c3a17f9dc00ead78392812a98397cf277 (patch)
tree05f4e44e3883295fa0aa33672e39efd41d0100b0 /package/source/zipapi/Inflater.cxx
parent4d78f348f904a08db52e9f063a230b31bcc2e07f (diff)
Some more loplugin:cstylecast: package
Change-Id: Icf7351082cf63aeb70ec47a8562a89d452ae9d8e
Diffstat (limited to 'package/source/zipapi/Inflater.cxx')
-rw-r--r--package/source/zipapi/Inflater.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/zipapi/Inflater.cxx b/package/source/zipapi/Inflater.cxx
index a9e372c860cf..17a83fa59868 100644
--- a/package/source/zipapi/Inflater.cxx
+++ b/package/source/zipapi/Inflater.cxx
@@ -102,7 +102,7 @@ sal_Int32 Inflater::doInflateBytes (Sequence < sal_Int8 > &rBuffer, sal_Int32 n
nLastInflateError = 0;
- pStream->next_in = ( unsigned char* ) ( sInBuffer.getConstArray() + nOffset );
+ pStream->next_in = reinterpret_cast<unsigned char*>( sInBuffer.getArray() + nOffset );
pStream->avail_in = nLength;
pStream->next_out = reinterpret_cast < unsigned char* > ( rBuffer.getArray() + nNewOffset );
pStream->avail_out = nNewLength;