summaryrefslogtreecommitdiff
path: root/sal/rtl/ustring.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/rtl/ustring.cxx')
-rw-r--r--sal/rtl/ustring.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/rtl/ustring.cxx b/sal/rtl/ustring.cxx
index 7b266edc0e06..edbfc9dada26 100644
--- a/sal/rtl/ustring.cxx
+++ b/sal/rtl/ustring.cxx
@@ -555,14 +555,14 @@ void SAL_CALL rtl_uString_newFromCodePoints(
static int rtl_ImplGetFastUTF8UnicodeLen( const sal_Char* pStr, sal_Int32 nLen )
{
int n;
- sal_uChar c;
+ unsigned char c;
const sal_Char* pEndStr;
n = 0;
pEndStr = pStr+nLen;
while ( pStr < pEndStr )
{
- c = (sal_uChar)*pStr;
+ c = (unsigned char)*pStr;
if ( !(c & 0x80) )
pStr++;