From 810964f8e6b80fbfdb7f96b9a084acc4cbe5a3a1 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 28 Sep 2021 12:08:09 +1000 Subject: Widen styleNumber in PositionCacheEntry from 8 to 16 bits to allow styles larger than 255 to be represented. Before this, it may have been possible but extremely rare for a cache entry to wrongly match a styled lexeme and produce incorrect layout. Using uint16_t from cstdint instead of a bit field as tools perform more checking on that. --- win32/ScintillaWin.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'win32') diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index c1a4b1372..a45c7a076 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -7,6 +7,7 @@ #include #include +#include #include #include #include -- cgit v1.2.3