diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2016-02-21 08:24:49 -0800 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-02-22 17:22:23 +0100 |
commit | af824f7b078e2603b96b557e9623830350fd4d15 (patch) | |
tree | 796f92879a2fd80e9b138c6bf39c2b6dfe85c1fa | |
parent | 9da978b5a6f10b8a2bdb16ebe08ae015494734c3 (diff) |
WaE 0xdeadbeaf 32 bits litteral casting to 64 bits pointer
Change-Id: I9769a1d9707cc958329f1c05ccbed780983faf14
Reviewed-on: https://gerrit.libreoffice.org/22600
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
(cherry picked from commit 369b33903ac1870275af07451e7377ef057e1276)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | cppu/source/uno/destr.hxx | 2 | ||||
-rw-r--r-- | cppu/source/uno/prim.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/uno/destr.hxx b/cppu/source/uno/destr.hxx index 1bf9313801d0..5ae29aedc6af 100644 --- a/cppu/source/uno/destr.hxx +++ b/cppu/source/uno/destr.hxx @@ -133,7 +133,7 @@ inline void _destructAny( break; } #if OSL_DEBUG_LEVEL > 0 - pAny->pData = reinterpret_cast<void *>(0xdeadbeef); + pAny->pData = reinterpret_cast<void *>((uintptr_t)0xdeadbeef); #endif ::typelib_typedescriptionreference_release( pType ); diff --git a/cppu/source/uno/prim.hxx b/cppu/source/uno/prim.hxx index cf66016353cd..03bae2abb334 100644 --- a/cppu/source/uno/prim.hxx +++ b/cppu/source/uno/prim.hxx @@ -133,7 +133,7 @@ inline typelib_TypeDescriptionReference * _getVoidType() inline void CONSTRUCT_EMPTY_ANY(uno_Any * pAny) { pAny->pType = _getVoidType(); #if OSL_DEBUG_LEVEL > 0 - pAny->pData = reinterpret_cast<void *>(0xdeadbeef); + pAny->pData = reinterpret_cast<void *>((uintptr_t)0xdeadbeef); #else pAny->pData = pAny; #endif |