summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-07-29 16:45:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-07-29 16:45:33 +0200
commit6b5dce35f2ff2d7c52e51686b438f9037f9cb78f (patch)
treefd33f8ab55f16bce36e2598c58f6b35ee2590e4f /cppu
parent63eb070d0d1f00e6a3e846c8e90e6dce394497ca (diff)
s_mapInterface must match uno_MapInterfaceFunc
Change-Id: I5035db31ce3cb3d07dca86aa77552274c02f695a
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx b/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx
index 9375dd7fdfb0..bb29e13b9511 100644
--- a/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx
+++ b/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx
@@ -73,13 +73,15 @@ public:
static void SAL_CALL s_mapInterface(
uno_Mapping * puno_Mapping,
- uno_Interface ** ppOut,
- uno_Interface * pUnoI,
+ void ** ppOut,
+ void * pUnoI,
typelib_InterfaceTypeDescription * pTypeDescr )
SAL_THROW_EXTERN_C()
{
Mapping * pMapping = static_cast<Mapping *>(puno_Mapping);
- pMapping->mapInterface(ppOut, pUnoI, pTypeDescr);
+ pMapping->mapInterface(
+ reinterpret_cast<uno_Interface **>(ppOut),
+ static_cast<uno_Interface *>(pUnoI), pTypeDescr);
}
extern "C" {