aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-09-18 10:14:18 +0000
committernyamatongwe <devnull@localhost>2005-09-18 10:14:18 +0000
commitbe28be1243718283383b9076e020fdd4e812755a (patch)
treeb073df2ba704458b103e913a15a122ea9afc4f3c /src
parent1bff562e6999731479e93c91777854789843debb (diff)
downloadscintilla-mirror-be28be1243718283383b9076e020fdd4e812755a.tar.gz
Fixed const correctness issue found by Visual C++ 2005.
Diffstat (limited to 'src')
-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 */) {