summaryrefslogtreecommitdiff
path: root/sal/textenc/convertiso2022jp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-17 19:01:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:50 +0100
commitb70b4e644b5bb5356509505855418453dc621cfc (patch)
tree0a2441aa91947032d398b688f73553ff4d5a4afb /sal/textenc/convertiso2022jp.cxx
parent2e160b1e0e5b28b8a6ddfa07fc6ffff1c6e590bc (diff)
Some more loplugin:cstylecast: sal
Change-Id: Ie54d340478412e62b87d66e287fd8a3963e97898
Diffstat (limited to 'sal/textenc/convertiso2022jp.cxx')
-rw-r--r--sal/textenc/convertiso2022jp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/textenc/convertiso2022jp.cxx b/sal/textenc/convertiso2022jp.cxx
index 2aa9587ff28e..bb89509e2e69 100644
--- a/sal/textenc/convertiso2022jp.cxx
+++ b/sal/textenc/convertiso2022jp.cxx
@@ -104,7 +104,7 @@ sal_Size ImplConvertIso2022JpToUnicode(void const * pData,
for (; nConverted < nSrcBytes; ++nConverted)
{
bool bUndefined = true;
- sal_uInt32 nChar = *(unsigned char const *) pSrcBuf++;
+ sal_uInt32 nChar = *reinterpret_cast<unsigned char const *>(pSrcBuf++);
switch (eState)
{
case IMPL_ISO_2022_JP_TO_UNICODE_STATE_ASCII: