/[packages]/cauldron/libreoffice/current/SOURCES/0001-cast-arg-to-the-right-type.patch
ViewVC logotype

Contents of /cauldron/libreoffice/current/SOURCES/0001-cast-arg-to-the-right-type.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 669163 - (show annotations) (download)
Thu Aug 28 20:41:53 2014 UTC (6 years ago) by tv
File size: 1213 byte(s)
SILENT: new file ./SOURCES/0001-cast-arg-to-the-right-type.patch
1 From 10a269784fd425c2bef2c91f7c7a5ddd1a6d105b Mon Sep 17 00:00:00 2001
2 From: David Tardon <dtardon@redhat.com>
3 Date: Thu, 28 Aug 2014 16:10:11 +0200
4 Subject: [PATCH] cast arg to the right type
5
6 According to desc., typelib_TypeDescription can be safely used where
7 typelib_TypeDescriptionReference is expected.
8
9 Change-Id: Ibc3effd7e2894ba6ff738503e747f5157c146454
10 ---
11 bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx
15 index 5836d8b..b41cee6 100644
16 --- a/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx
17 +++ b/bridges/source/cpp_uno/gcc3_linux_powerpc64/uno2cpp.cxx
18 @@ -233,7 +233,7 @@ static void callVirtualMethod(void * pThis, sal_uInt32 nVtableIndex,
19 "fmr %0, 1\n\t"
20 : "=f" (dret), "=r" (r3), "=r" (r4) : );
21
22 - MapReturn(r3, r4, dret, pReturnTypeDescr, pRegisterReturn);
23 + MapReturn(r3, r4, dret, reinterpret_cast<typelib_TypeDescriptionReference *>(pReturnTypeDescr), pRegisterReturn);
24 }
25
26 // Macros for easier insertion of values to registers or stack
27 --
28 1.9.3
29

  ViewVC Help
Powered by ViewVC 1.1.28