aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-07-11 10:29:22 +1000
committerNeil <nyamatongwe@gmail.com>2013-07-11 10:29:22 +1000
commitddb717b99d0ef4f089cd06dda342cf0508155c80 (patch)
tree615e6444aa809cd4d931c8bdd5c13cfa46859e9f
parent93eb37c1832a0f4a1d47b17161a50f81c4e7931d (diff)
downloadscintilla-mirror-ddb717b99d0ef4f089cd06dda342cf0508155c80.tar.gz
Avoid warning for 64-bit build.
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index f925beab7..0c7bc819e 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -5015,7 +5015,7 @@ void Editor::ChangeCaseOfSelection(int caseMapping) {
sMapped.c_str() + firstDifference,
static_cast<int>(lastDifferenceMapped - firstDifference + 1));
// Automatic movement changes selection so reset to exactly the same as it was.
- int diffSizes = sMapped.size() - sText.size();
+ int diffSizes = static_cast<int>(sMapped.size() - sText.size());
if (diffSizes != 0) {
if (current.anchor > current.caret)
current.anchor.Add(diffSizes);