diff options
Diffstat (limited to 'sal/textenc/convertsimple.cxx')
-rw-r--r-- | sal/textenc/convertsimple.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/textenc/convertsimple.cxx b/sal/textenc/convertsimple.cxx index f94ad63b63f6..d60adc7bd8ea 100644 --- a/sal/textenc/convertsimple.cxx +++ b/sal/textenc/convertsimple.cxx @@ -517,7 +517,7 @@ sal_Size sal::detail::textenc::convertCharToUnicode( sal_Size nSrcBytes, sal_Unicode * pDestBuf, sal_Size nDestChars, sal_uInt32 nFlags, sal_uInt32 * pInfo, sal_Size * pSrcCvtBytes) { - sal_uChar c; + unsigned char c; sal_Unicode cConv; const ImplByteConvertData* pConvertData = (const ImplByteConvertData*)pData; sal_Unicode* pEndDestBuf; @@ -528,7 +528,7 @@ sal_Size sal::detail::textenc::convertCharToUnicode( pEndSrcBuf = pSrcBuf+nSrcBytes; while ( pSrcBuf < pEndSrcBuf ) { - c = (sal_uChar)*pSrcBuf; + c = (unsigned char)*pSrcBuf; if ( c < 0x80 ) cConv = c; else |