diff options
-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 299cca3f3750..580620814b93 100644 --- a/cppu/source/uno/destr.hxx +++ b/cppu/source/uno/destr.hxx @@ -132,7 +132,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 |