replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -693,7 +693,7 @@ const void *wxDataObject::GetSizeFromBuffer(const void *buffer,
|
||||
// hack: the third parameter is declared non-const in Wine's headers so
|
||||
// cast away the const
|
||||
const size_t realsz = ::HeapSize(::GetProcessHeap(), 0,
|
||||
wx_const_cast(void*, buffer));
|
||||
const_cast<void*>(buffer));
|
||||
if ( realsz == (size_t)-1 )
|
||||
{
|
||||
// note that HeapSize() does not set last error
|
||||
|
Reference in New Issue
Block a user