From: Vadim Zeitlin Date: Wed, 8 Mar 2000 15:08:17 +0000 (+0000) Subject: warning in wxCustomDataObject::Free fix (I hope) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5bcea60e1b7e032900dd65933e2b529931e7ef7d warning in wxCustomDataObject::Free fix (I hope) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/dobjcmn.cpp b/src/common/dobjcmn.cpp index aadd3914f3..820989a6f4 100644 --- a/src/common/dobjcmn.cpp +++ b/src/common/dobjcmn.cpp @@ -282,7 +282,7 @@ void *wxCustomDataObject::Alloc(size_t size) void wxCustomDataObject::Free() { - delete [] m_data; + delete [] (char *)m_data; m_size = 0; m_data = (void *)NULL; }