summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-21 12:29:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-21 12:29:36 +0100
commit7cb5b2117429c6c5b12cd2ee4925e0eea18375be (patch)
treecedbb270a0cd3eb575f3720382d5ed5830da6064 /bridges
parentd76a8ba0b578b5084b86bd20227dc9aa72135e44 (diff)
loplugin:cstylecast
Change-Id: Ib8575109cfe0339f2d8b56741d3ad2a538ecf164
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/gcc3_macosx_x86-64/callvirtualmethod.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_macosx_x86-64/callvirtualmethod.cxx b/bridges/source/cpp_uno/gcc3_macosx_x86-64/callvirtualmethod.cxx
index 971ca8a582a4..7b49e23d7560 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_x86-64/callvirtualmethod.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_x86-64/callvirtualmethod.cxx
@@ -77,7 +77,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
if ( nStack )