diff options
author | Neil <nyamatongwe@gmail.com> | 2013-07-11 10:29:22 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-07-11 10:29:22 +1000 |
commit | 72e202686759541cb3f33f83388731857fae380a (patch) | |
tree | 27ad0a83cb02b6d022657184966bd34e1d633255 /src | |
parent | 7f87ee309f0024f0877499854cfc22fc82e46008 (diff) | |
download | scintilla-mirror-72e202686759541cb3f33f83388731857fae380a.tar.gz |
Avoid warning for 64-bit build.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
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); |