diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:27:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:27:42 +0200 |
commit | e60cea3c8d14c1146ed2855024872fecb0959f66 (patch) | |
tree | 213022ad44fe31ea4f55fcc874d7135d024207f1 /sal/osl/unx/mutex.cxx | |
parent | 0fc8d8f6eba3ff49e7252fce661aa61dccfb3740 (diff) |
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: Iad01e628b692a6dcf882696908de0ef1f24c04c4
Diffstat (limited to 'sal/osl/unx/mutex.cxx')
-rw-r--r-- | sal/osl/unx/mutex.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/mutex.cxx b/sal/osl/unx/mutex.cxx index 515a2edb9102..bc51fbac498f 100644 --- a/sal/osl/unx/mutex.cxx +++ b/sal/osl/unx/mutex.cxx @@ -163,7 +163,7 @@ static void globalMutexInitImpl() { oslMutex * SAL_CALL osl_getGlobalMutex() { /* necessary to get a "oslMutex *" */ - static oslMutex globalMutex = (oslMutex) &globalMutexImpl; + static oslMutex globalMutex = &globalMutexImpl; static pthread_once_t once = PTHREAD_ONCE_INIT; if (pthread_once(&once, &globalMutexInitImpl) != 0) { |