X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d79a679195959479daafbb433c3a04739ec5a28..36abe9d421ebb33873f012a63fbdb210ff771682:/src/common/regex.cpp?ds=sidebyside diff --git a/src/common/regex.cpp b/src/common/regex.cpp index 7a7029c8b5..40dff4df70 100644 --- a/src/common/regex.cpp +++ b/src/common/regex.cpp @@ -378,7 +378,7 @@ static int ReSearch(const regex_t *preg, re_registers *matches, int eflags) { - regex_t *pattern = wx_const_cast(regex_t*, preg); + regex_t *pattern = const_cast(preg); pattern->not_bol = (eflags & REG_NOTBOL) != 0; pattern->not_eol = (eflags & REG_NOTEOL) != 0;