diff options
Diffstat (limited to 'cppu/source/uno/prim.hxx')
-rw-r--r-- | cppu/source/uno/prim.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/uno/prim.hxx b/cppu/source/uno/prim.hxx index 545f239ecaa2..6f50f9282ce7 100644 --- a/cppu/source/uno/prim.hxx +++ b/cppu/source/uno/prim.hxx @@ -57,13 +57,13 @@ inline void * _map( if (pTypeDescr) { (*mapping->mapInterface)( - mapping, &pRet, p, (typelib_InterfaceTypeDescription *)pTypeDescr ); + mapping, &pRet, p, reinterpret_cast<typelib_InterfaceTypeDescription *>(pTypeDescr) ); } else { TYPELIB_DANGER_GET( &pTypeDescr, pType ); (*mapping->mapInterface)( - mapping, &pRet, p, (typelib_InterfaceTypeDescription *)pTypeDescr ); + mapping, &pRet, p, reinterpret_cast<typelib_InterfaceTypeDescription *>(pTypeDescr) ); TYPELIB_DANGER_RELEASE( pTypeDescr ); } } |