summaryrefslogtreecommitdiff
path: root/sal/textenc/converteuctw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/textenc/converteuctw.cxx')
-rw-r--r--sal/textenc/converteuctw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/textenc/converteuctw.cxx b/sal/textenc/converteuctw.cxx
index 66b0f21626b1..5dd5898d0b31 100644
--- a/sal/textenc/converteuctw.cxx
+++ b/sal/textenc/converteuctw.cxx
@@ -104,7 +104,7 @@ sal_Size ImplConvertEucTwToUnicode(void const * pData,
for (; nConverted < nSrcBytes; ++nConverted)
{
bool bUndefined = true;
- sal_uInt32 nChar = *(sal_uChar const *) pSrcBuf++;
+ sal_uInt32 nChar = *(unsigned char const *) pSrcBuf++;
switch (eState)
{
case IMPL_EUC_TW_TO_UNICODE_STATE_0: