diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-08-09 11:30:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-08-10 13:40:09 +0200 |
commit | ca550863f7d2e650116582dee298388ea3a97725 (patch) | |
tree | 40b6f15a1f1463eb342355a3f344d92deb3cf17a /cppu | |
parent | 59341a78e42106fe8c4d1ba8298bd040e2fad9c7 (diff) |
Better cast to sal_[u]IntPtr when passing pointer to O[U]String::number
Change-Id: I5b7a0fa060c1e0ae4aa194e0c1862f303dd8a2d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138062
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/uno/lbenv.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx index 3e0152c969a1..55195bc228b7 100644 --- a/cppu/source/uno/lbenv.cxx +++ b/cppu/source/uno/lbenv.cxx @@ -850,10 +850,10 @@ static void unoenv_computeObjectIdentifier( (*pUnoI->release)( pUnoI ); OUString aStr( // interface - OUString::number( reinterpret_cast< sal_Int64 >(pUnoI), 16 ) + ";" + OUString::number( reinterpret_cast< sal_IntPtr >(pUnoI), 16 ) + ";" // environment[context] + OUString::unacquired(&pEnv->aBase.pTypeName) + "[" - + OUString::number( reinterpret_cast< sal_Int64 >( + + OUString::number( reinterpret_cast< sal_IntPtr >( reinterpret_cast< uno_Environment * >(pEnv)->pContext ), 16 ) // process;good guid |