X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98ecad062135d7821740d9c92a9a61e1a676854b..d8fc3398ac61229b4986a6c72eb17af98f41123e:/src/common/dobjcmn.cpp?ds=inline diff --git a/src/common/dobjcmn.cpp b/src/common/dobjcmn.cpp index 02786e98cd..d9327709c5 100644 --- a/src/common/dobjcmn.cpp +++ b/src/common/dobjcmn.cpp @@ -320,7 +320,7 @@ bool wxTextDataObject::GetDataHere(const wxDataFormat& format, void *buf) const bool wxTextDataObject::SetData(const wxDataFormat& format, size_t len, const void *buf_) { - const char * const buf = wx_static_cast(const char *, buf_); + const char * const buf = static_cast(buf_); if ( buf == NULL ) return false;