summaryrefslogtreecommitdiff
path: root/sal/textenc/convertiso2022jp.cxx
diff options
context:
space:
mode:
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: