added missing cast for delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2bd598aa16
commit
6d5e730730
@ -80,7 +80,7 @@ void *wxGetClipboardData(wxDataFormat dataFormat, long *len)
|
||||
}
|
||||
else
|
||||
{
|
||||
delete[] data ;
|
||||
delete[] ((char *)data) ;
|
||||
data = NULL ;
|
||||
}
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ void *wxGetClipboardData(wxDataFormat dataFormat, long *len)
|
||||
}
|
||||
else
|
||||
{
|
||||
delete[] data ;
|
||||
delete[] ((char *)data) ;
|
||||
data = NULL ;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user