]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dobjcmn.cpp
wchar_t byte-swapping is not necessary if __STDC_ISO_10646__ is defined.
[wxWidgets.git] / src / common / dobjcmn.cpp
index aadd3914f34a8593225923427e20c02e703a5aa6..820989a6f48fe5fcd9b7467291c407a67b2cab69 100644 (file)
@@ -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;
 }