summaryrefslogtreecommitdiff
path: root/sal/osl/unx/profile.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:22 +0200
commit30b089fe491b391931470e960b4af2ccaca9408a (patch)
tree268669b4faa689c048abe489ac4581c846ebe80c /sal/osl/unx/profile.cxx
parente56bec5ccd7bdd91e0389381dc4e2f1e48f2c32d (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Ibd373cddb1e25f05528e627349953b5f7d115330
Diffstat (limited to 'sal/osl/unx/profile.cxx')
-rw-r--r--sal/osl/unx/profile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/profile.cxx b/sal/osl/unx/profile.cxx
index abffd33d105c..593808755479 100644
--- a/sal/osl/unx/profile.cxx
+++ b/sal/osl/unx/profile.cxx
@@ -1845,7 +1845,7 @@ static bool releaseProfile(osl_TProfileImpl* pProfile)
if (pProfile->m_Flags & FLG_AUTOOPEN)
{
- return osl_closeProfile((oslProfile)pProfile);
+ return osl_closeProfile(static_cast<oslProfile>(pProfile));
}
else
{