diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-04 23:37:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-05 09:10:04 +0100 |
commit | eeaf8026e1df9dd22c7f85058e602d1450a41355 (patch) | |
tree | 95a149bf279f4a52fc4cfe9245e9f9012795d835 /include/osl | |
parent | 3434327a5f2559a6d24146b35236042fe8741038 (diff) |
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: Iff55c88a365859400e87f3333735e54ba59811b6
Diffstat (limited to 'include/osl')
-rw-r--r-- | include/osl/mutex.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osl/mutex.hxx b/include/osl/mutex.hxx index 99241eb8b135..ca8c19018fd2 100644 --- a/include/osl/mutex.hxx +++ b/include/osl/mutex.hxx @@ -82,7 +82,7 @@ namespace osl */ static Mutex * getGlobalMutex() { - return (Mutex *)osl_getGlobalMutex(); + return reinterpret_cast<Mutex *>(osl_getGlobalMutex()); } private: |