summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
authorDavid Ostrovsky <david@ostrovsky.org>2014-12-08 08:19:15 +0100
committerMichael Stahl <mstahl@redhat.com>2014-12-10 21:35:43 +0000
commitc2a93a21a5a7af38ae659b9340beeb13c084eb12 (patch)
tree1f012c64766467b60c8ce4ea04dbc9929012f094 /tools/source
parentaf7d374d013baad34f66989dbb9443af85bd8040 (diff)
long is 32 bit on Windows x86_64 platform
So that this is always wrong (on this platform) to write: reinterpret_cast<foo>(reinterpret_cast<long>(bar)) it should be: renterpret_cast<foo>(reinterpret_cast<sal_uIntPtr>(bar)) Change-Id: Ia286246ee1616988f755c2d2054b26efacc51af0 Reviewed-on: https://gerrit.libreoffice.org/13366 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/debug/debug.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx
index 274d116fa8e5..9e65c44fa9e6 100644
--- a/tools/source/debug/debug.cxx
+++ b/tools/source/debug/debug.cxx
@@ -288,7 +288,7 @@ void* DbgFunc( sal_uInt16 nAction, void* pParam )
break;
case DBG_FUNC_SETTESTSOLARMUTEX:
- pDebugData->pDbgTestSolarMutex = reinterpret_cast<DbgTestSolarMutexProc>(reinterpret_cast<long>(pParam));
+ pDebugData->pDbgTestSolarMutex = reinterpret_cast<DbgTestSolarMutexProc>(reinterpret_cast<sal_uIntPtr>(pParam));
break;
case DBG_FUNC_TESTSOLARMUTEX: