diff options
author | nyamatongwe <unknown> | 2005-09-18 10:14:18 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2005-09-18 10:14:18 +0000 |
commit | 3f25e69b1afa75ddfc70518f043414d37ac25458 (patch) | |
tree | b073df2ba704458b103e913a15a122ea9afc4f3c /src | |
parent | f36143c50c43b51e1c800b6d8b96a2d984786422 (diff) | |
download | scintilla-mirror-3f25e69b1afa75ddfc70518f043414d37ac25458.tar.gz |
Fixed const correctness issue found by Visual C++ 2005.
Diffstat (limited to 'src')
-rw-r--r-- | src/LexCaml.cxx | 2 |
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 */) { |