diff options
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) { |