--- scintilla/src/LexCaml.cxx.orig 2005-05-27 11:30:23.000000000 +0800 +++ scintilla/src/LexCaml.cxx 2022-11-03 06:39:05.000000000 +0800 @@ -275,7 +275,7 @@ // [try to] interpret as [additional] operator char char* o = 0; if (iscaml(ch) || isspace(ch) /* ident or whitespace */ - || ((o = strchr(")]};,\'\"`#", ch)) != 0)/* "termination" chars */ + || ((o = (char*)strchr(")]};,\'\"`#", ch)) != 0)/* "termination" chars */ || !strchr("!$%&*+-./:<=>?@^|~", ch)/* "operator" chars */) { // check for INCLUSIVE termination if (o && strchr(")]};,", ch)) {