X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfcfada96e76129a630ab9c47f346fbfc5e9de8d..3a61f5db2c1292d1f6cbfc5bff1edfbdf7b1fc99:/src/common/strconv.cpp diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index 4615f5b24b..f46ccf4498 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -3227,7 +3227,7 @@ void wxCSConv::CreateConvIfNeeded() const { if ( m_deferred ) { - wxCSConv *self = (wxCSConv *)this; // const_cast + wxCSConv *self = const_cast(this); // if we don't have neither the name nor the encoding, use the default // encoding for this system