From ddb717b99d0ef4f089cd06dda342cf0508155c80 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 11 Jul 2013 10:29:22 +1000 Subject: Avoid warning for 64-bit build. --- src/Editor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(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(sMapped.size() - sText.size()); if (diffSizes != 0) { if (current.anchor > current.caret) current.anchor.Add(diffSizes); -- cgit v1.2.3