aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexCaml.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-09-18 10:14:18 +0000
committernyamatongwe <unknown>2005-09-18 10:14:18 +0000
commit3f25e69b1afa75ddfc70518f043414d37ac25458 (patch)
treeb073df2ba704458b103e913a15a122ea9afc4f3c /src/LexCaml.cxx
parentf36143c50c43b51e1c800b6d8b96a2d984786422 (diff)
downloadscintilla-mirror-3f25e69b1afa75ddfc70518f043414d37ac25458.tar.gz
Fixed const correctness issue found by Visual C++ 2005.
Diffstat (limited to 'src/LexCaml.cxx')
-rw-r--r--src/LexCaml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexCaml.cxx b/src/LexCaml.cxx
index bb069e958..2d11ad6cc 100644
--- a/src/LexCaml.cxx
+++ b/src/LexCaml.cxx
@@ -273,7 +273,7 @@ void ColouriseCamlDoc(
case SCE_CAML_OPERATOR: {
// [try to] interpret as [additional] operator char
- char* o = 0;
+ const char* o = 0;
if (iscaml(ch) || isspace(ch) /* ident or whitespace */
|| ((o = strchr(")]};,\'\"`#", ch)) != 0)/* "termination" chars */
|| !strchr("!$%&*+-./:<=>?@^|~", ch)/* "operator" chars */) {