diff options
-rw-r--r-- | salhelper/source/dynload.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/salhelper/source/dynload.cxx b/salhelper/source/dynload.cxx index f69ace831168..f881b52937e7 100644 --- a/salhelper/source/dynload.cxx +++ b/salhelper/source/dynload.cxx @@ -58,8 +58,8 @@ ORealDynamicLoader* ORealDynamicLoader::newInstance(ORealDynamicLoader ** ppSetT return NULL; } - initFunc = (ApiInitFunction)osl_getFunctionSymbol( - pModule, initFunction.pData); + initFunc = reinterpret_cast<ApiInitFunction>(osl_getFunctionSymbol( + pModule, initFunction.pData)); if ( !initFunc ) { |