X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0822896b3354f8698835d234ce2655daa640704..4cb1706ae52c02214a4540c6c4b6882bed5af416:/src/mac/carbon/clipbrd.cpp?ds=sidebyside diff --git a/src/mac/carbon/clipbrd.cpp b/src/mac/carbon/clipbrd.cpp index cb69904f95..f493b5bf65 100644 --- a/src/mac/carbon/clipbrd.cpp +++ b/src/mac/carbon/clipbrd.cpp @@ -80,7 +80,7 @@ void *wxGetClipboardData(wxDataFormat dataFormat, long *len) } else { - delete[] data ; + delete[] ((char *)data) ; data = NULL ; } }