diff options
Diffstat (limited to 'lexlib/LexAccessor.h')
-rw-r--r-- | lexlib/LexAccessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/LexAccessor.h b/lexlib/LexAccessor.h index 822c81dfb..f8c180e14 100644 --- a/lexlib/LexAccessor.h +++ b/lexlib/LexAccessor.h @@ -170,7 +170,7 @@ public: if (validLen + (pos - startSeg + 1) >= bufferSize) Flush(); - char attr = static_cast<char>(chAttr); + const char attr = static_cast<char>(chAttr); if (validLen + (pos - startSeg + 1) >= bufferSize) { // Too big for buffer so send directly pAccess->SetStyleFor(pos - startSeg + 1, attr); |