summaryrefslogtreecommitdiff
path: root/cppu/source/uno/lbenv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/uno/lbenv.cxx')
-rw-r--r--cppu/source/uno/lbenv.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx
index b847a86be8ba..978f463797a5 100644
--- a/cppu/source/uno/lbenv.cxx
+++ b/cppu/source/uno/lbenv.cxx
@@ -819,8 +819,8 @@ namespace
sal_uInt8 ar[16];
::rtl_getGlobalProcessId( ar );
aRet.append( ';' );
- for ( sal_Int32 i = 0; i < 16; ++i )
- aRet.append( (sal_Int32)ar[i], 16 );
+ for (unsigned char i : ar)
+ aRet.append( (sal_Int32)i, 16 );
m_sOidPart = aRet.makeStringAndClear();
}