aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-05-03 07:47:25 +1000
committerNeil <nyamatongwe@gmail.com>2018-05-03 07:47:25 +1000
commit9d96a06e026b1ab4151adfeccca72a3431398c35 (patch)
tree201e8f161a017f4eb95f88beb704f636d8e33480 /src/PositionCache.h
parent5e57df2146614bf2c344fcb4a5c54f08ec5f1add (diff)
downloadscintilla-mirror-9d96a06e026b1ab4151adfeccca72a3431398c35.tar.gz
Backport: Ensure all 4 byte characters will work in MapRepresentation by using unsigned int.
Use variable assignments to avoid casts. Backport of changeset 6789:35c415d8e7d4.
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r--src/PositionCache.h2
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;