diff options
Diffstat (limited to 'include/tools/debug.hxx')
-rw-r--r-- | include/tools/debug.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/debug.hxx b/include/tools/debug.hxx index b80d0f08c9ca..050dc3428298 100644 --- a/include/tools/debug.hxx +++ b/include/tools/debug.hxx @@ -98,7 +98,7 @@ inline sal_uIntPtr DbgIsBoldAppFont() inline void DbgSetTestSolarMutex( DbgTestSolarMutexProc pProc ) { - DbgFunc( DBG_FUNC_SETTESTSOLARMUTEX, (void*)(long)pProc ); + DbgFunc( DBG_FUNC_SETTESTSOLARMUTEX, reinterpret_cast<void*>(reinterpret_cast<long>(pProc)) ); } #define DBG_ASSERTWARNING( sCon, aWarning ) \ |