summaryrefslogtreecommitdiff
path: root/bridges/source
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-08-28 16:10:11 +0200
committerDavid Tardon <dtardon@redhat.com>2014-08-28 16:19:17 +0200
commitef8b94ab0e689851871f9783d4b1f3724177cf3a (patch)
tree5b3435d79d67ee3029ffd93bc5de6858ef51dd6b /bridges/source
parent7bac68d79e2e3b9a5e2e2b12a3e83c8d1e62b16f (diff)
cast arg to the right type
According to desc., typelib_TypeDescription can be safely used where typelib_TypeDescriptionReference is expected. Change-Id: Ibc3effd7e2894ba6ff738503e747f5157c146454
Diffstat (limited to 'bridges/source')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx
index 5836d8b8aec3..b41cee6b1b34 100644
--- a/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx
@@ -233,7 +233,7 @@ static void callVirtualMethod(void * pThis, sal_uInt32 nVtableIndex,
"fmr %0, 1\n\t"
: "=f" (dret), "=r" (r3), "=r" (r4) : );
- MapReturn(r3, r4, dret, pReturnTypeDescr, pRegisterReturn);
+ MapReturn(r3, r4, dret, reinterpret_cast<typelib_TypeDescriptionReference *>(pReturnTypeDescr), pRegisterReturn);
}
// Macros for easier insertion of values to registers or stack