summaryrefslogtreecommitdiff
path: root/salhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-17 19:02:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:50 +0100
commit5ef1d9ff36e40ca24a6d3de15543481ee8b1cb58 (patch)
treecad32525c87d26d8adbaa511170a7e3fd1121ac8 /salhelper
parentb70b4e644b5bb5356509505855418453dc621cfc (diff)
Some more loplugin:cstylecast: salhelper
Change-Id: I1e6168297ac4405c3f300aecc9074a4f15e6654c
Diffstat (limited to 'salhelper')
-rw-r--r--salhelper/source/dynload.cxx4
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 )
{