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 /bridges | |
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 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/shared/component.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/shared/component.cxx b/bridges/source/cpp_uno/shared/component.cxx index cef72d8b6a8e..0a2f1a25150f 100644 --- a/bridges/source/cpp_uno/shared/component.cxx +++ b/bridges/source/cpp_uno/shared/component.cxx @@ -88,12 +88,12 @@ static void s_stub_computeObjectIdentifier(va_list * pParam) { // interface OUString aRet = - OUString::number( reinterpret_cast< sal_Int64 >(xHome.get()), 16 ) + + OUString::number( reinterpret_cast< sal_IntPtr >(xHome.get()), 16 ) + ";" + // ;environment[context] OUString::unacquired(&pEnv->aBase.pTypeName) + "[" + - OUString::number( reinterpret_cast< sal_Int64 >(pEnv->aBase.pContext), 16 ) + + OUString::number( reinterpret_cast< sal_IntPtr >(pEnv->aBase.pContext), 16 ) + // ];good guid cppu_cppenv_getStaticOIdPart(); *ppOId = aRet.pData; |