From 3f25e69b1afa75ddfc70518f043414d37ac25458 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 18 Sep 2005 10:14:18 +0000 Subject: Fixed const correctness issue found by Visual C++ 2005. --- src/LexCaml.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 */) { -- cgit v1.2.3