diff options
author | Zufu Liu <unknown> | 2021-10-21 22:26:59 +1100 |
---|---|---|
committer | Zufu Liu <unknown> | 2021-10-21 22:26:59 +1100 |
commit | a344b8f5f124000f7f3820fbb1d87b8e0adf5092 (patch) | |
tree | 7134c945f64060a83cc70d8819ddafb38d2a2f81 /src/PositionCache.h | |
parent | 352fc86fe34bf8c5d0570e0e1dd3b568fcfcefe1 (diff) | |
download | scintilla-mirror-a344b8f5f124000f7f3820fbb1d87b8e0adf5092.tar.gz |
Feature [feature-requests:#1417] Use unsigned as that defines wrap-around
behaviour.
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r-- | src/PositionCache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h index eb9b0d0a4..9a9f2e6fc 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -200,7 +200,7 @@ typedef std::map<unsigned int, Representation> MapRepresentation; class SpecialRepresentations { MapRepresentation mapReprs; - short startByteHasReprs[0x100] {}; + unsigned short startByteHasReprs[0x100] {}; bool crlf = false; public: void SetRepresentation(std::string_view charBytes, std::string_view value); |