diff options
Diffstat (limited to 'vcl/source/gdi/octree.cxx')
-rw-r--r-- | vcl/source/gdi/octree.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/octree.cxx b/vcl/source/gdi/octree.cxx index 1aac1ef17a97..1de20edf9dfe 100644 --- a/vcl/source/gdi/octree.cxx +++ b/vcl/source/gdi/octree.cxx @@ -298,10 +298,10 @@ void InverseColorMap::ImplCreateBuffers( const sal_uLong nMax ) const sal_uLong nCount = nMax * nMax * nMax; const sal_uLong nSize = nCount * sizeof( sal_uLong ); - pMap = (sal_uInt8*) rtl_allocateMemory( nCount ); + pMap = static_cast<sal_uInt8*>(rtl_allocateMemory( nCount )); memset( pMap, 0x00, nCount ); - pBuffer = (sal_uInt8*) rtl_allocateMemory( nSize ); + pBuffer = static_cast<sal_uInt8*>(rtl_allocateMemory( nSize )); memset( pBuffer, 0xff, nSize ); } |