diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-06 22:55:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-07 14:42:07 +0100 |
commit | 25fb44265113c670ac3aaedb5a46c39a8c2895c8 (patch) | |
tree | aa504bc3663d14a0369b934f916d3e49860b702b /bridges/source/cpp_uno/gcc3_linux_x86-64/callvirtualmethod.cxx | |
parent | 7b1261f6f956271ec2a545f635e11432a5e64fa1 (diff) |
loplugin:cstylecast: bridges
Change-Id: I7c41b90c9af045fd452ee62ed0c5d9b261236855
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_x86-64/callvirtualmethod.cxx')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_x86-64/callvirtualmethod.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/callvirtualmethod.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/callvirtualmethod.cxx index 6dae025d3174..295596d154de 100644 --- a/bridges/source/cpp_uno/gcc3_linux_x86-64/callvirtualmethod.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/callvirtualmethod.cxx @@ -68,7 +68,7 @@ void CPPU_CURRENT_NAMESPACE::callVirtualMethod( // Get pointer to method sal_uInt64 pMethod = *((sal_uInt64 *)pThis); pMethod += 8 * nVtableIndex; - data.pMethod = *((sal_uInt64 *)pMethod); + data.pMethod = *reinterpret_cast<sal_uInt64 *>(pMethod); // Load parameters to stack, if necessary sal_uInt64* pCallStack = NULL; |