diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:27:22 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:27:22 +0200 |
commit | 30b089fe491b391931470e960b4af2ccaca9408a (patch) | |
tree | 268669b4faa689c048abe489ac4581c846ebe80c /include/osl | |
parent | e56bec5ccd7bdd91e0389381dc4e2f1e48f2c32d (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Ibd373cddb1e25f05528e627349953b5f7d115330
Diffstat (limited to 'include/osl')
-rw-r--r-- | include/osl/thread.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osl/thread.hxx b/include/osl/thread.hxx index 7d786eda0b62..7b1e06ad386f 100644 --- a/include/osl/thread.hxx +++ b/include/osl/thread.hxx @@ -69,7 +69,7 @@ public: bool SAL_CALL create() { assert(m_hThread == 0); // only one running thread per instance - m_hThread = osl_createSuspendedThread( threadFunc, (void*)this); + m_hThread = osl_createSuspendedThread( threadFunc, static_cast<void*>(this)); if (m_hThread == 0) { return false; @@ -84,7 +84,7 @@ public: if( m_hThread) return false; m_hThread= osl_createSuspendedThread( threadFunc, - (void*)this); + static_cast<void*>(this)); return m_hThread != 0; } |