diff options
| -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 dccf31e33..c38392e88 100644 --- a/lexlib/LexAccessor.h +++ b/lexlib/LexAccessor.h @@ -146,7 +146,7 @@ public:  			} else {  				if (chAttr != chWhile)  					chFlags = 0; -				chAttr |= chFlags; +				chAttr = static_cast<char>(chAttr | chFlags);  				for (unsigned int i = startSeg; i <= pos; i++) {  					assert((startPosStyling + validLen) < Length());  					styleBuf[validLen++] = static_cast<char>(chAttr); | 
