X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b766d97fd5b199f4eb6443e9f9dc3052792f5e9..957686c882df820c73e2e35732969a4da8d72098:/src/common/wxexpr.cpp diff --git a/src/common/wxexpr.cpp b/src/common/wxexpr.cpp index 6f67df37a2..01784063b2 100644 --- a/src/common/wxexpr.cpp +++ b/src/common/wxexpr.cpp @@ -1255,7 +1255,7 @@ void process_command(char * cexpr) void syntax_error(char *WXUNUSED(s)) { if (currentwxExprErrorHandler) - (void)(*(currentwxExprErrorHandler))(WXEXPR_ERROR_SYNTAX, "syntax error"); + (void)(*(currentwxExprErrorHandler))(WXEXPR_ERROR_SYNTAX, (char *)"syntax error"); if (thewxExprDatabase) thewxExprDatabase->noErrors += 1; }