summaryrefslogtreecommitdiff
path: root/sal/textenc/convertbig5hkscs.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/textenc/convertbig5hkscs.cxx')
-rw-r--r--sal/textenc/convertbig5hkscs.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/textenc/convertbig5hkscs.cxx b/sal/textenc/convertbig5hkscs.cxx
index 7b882db98a03..bec9f66abcee 100644
--- a/sal/textenc/convertbig5hkscs.cxx
+++ b/sal/textenc/convertbig5hkscs.cxx
@@ -89,7 +89,7 @@ sal_Size ImplConvertBig5HkscsToUnicode(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++);
if (nRow == 0)
if (nChar < 0x80)
if (pDestBufPtr != pDestBufEnd)