summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/evoab2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-29 15:13:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-29 15:13:45 +0200
commita52cf476e7cec9d0c70dd4ee93cbd328b66479ad (patch)
tree9e03f530d36c1c65f0db9d8698677e802137b3bb /connectivity/source/drivers/evoab2
parentc266ba458f444e5f4a4bafbf4073710c31897536 (diff)
Clean up template-parameter-dependent C-style casts
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
Diffstat (limited to 'connectivity/source/drivers/evoab2')
-rw-r--r--connectivity/source/drivers/evoab2/EApi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/evoab2/EApi.cxx b/connectivity/source/drivers/evoab2/EApi.cxx
index 1bc88aeb08ab..e3120d85bf09 100644
--- a/connectivity/source/drivers/evoab2/EApi.cxx
+++ b/connectivity/source/drivers/evoab2/EApi.cxx
@@ -112,8 +112,8 @@ tryLink( oslModule &aModule, const char *pName, const ApiMap (&pMap)[N])
{
for (guint i = 0; i < N; ++i)
{
- SymbolFunc aMethod = (SymbolFunc)osl_getFunctionSymbol
- (aModule, OUString::createFromAscii ( pMap[ i ].sym_name ).pData);
+ SymbolFunc aMethod = reinterpret_cast<SymbolFunc>(osl_getFunctionSymbol
+ (aModule, OUString::createFromAscii ( pMap[ i ].sym_name ).pData));
if( !aMethod )
{
fprintf( stderr, "Warning: missing symbol '%s' in '%s'\n",