X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b766d97fd5b199f4eb6443e9f9dc3052792f5e9..e6cec3db8ce53752adb51f4ff1c4c3bfea6882c9:/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; }