diff options
author | Neil <nyamatongwe@gmail.com> | 2018-05-03 07:47:25 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-05-03 07:47:25 +1000 |
commit | a3e6fe8011067ef22c673342b40b1f924c06b3c1 (patch) | |
tree | ed803f126e9cbcb35a66f20460b87b8a4e5677b3 /src/PositionCache.h | |
parent | 9aa2dfc9a366df851d1eea05a58d5e171adcb8fd (diff) | |
download | scintilla-mirror-a3e6fe8011067ef22c673342b40b1f924c06b3c1.tar.gz |
Ensure all 4 byte characters will work in MapRepresentation by using unsigned int.
Use variable assignments to avoid casts.
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 c294edebd..c1ecd2c0f 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -160,7 +160,7 @@ public: } }; -typedef std::map<int, Representation> MapRepresentation; +typedef std::map<unsigned int, Representation> MapRepresentation; class SpecialRepresentations { MapRepresentation mapReprs; |