summaryrefslogtreecommitdiff
path: root/cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/helper/purpenv/helper_purpenv_Mapping.cxx')
-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" {