aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-01-21 13:05:13 +1100
committerNeil <nyamatongwe@gmail.com>2018-01-21 13:05:13 +1100
commitd1abca4bbafa9830544e8ec8ce0e4b5754d98c49 (patch)
treed7557015fc3d847a09693a70fbe69927dc49805e
parent6826f2ec576b0dcbe00ac87f990a27f073eb88bf (diff)
downloadscintilla-mirror-d1abca4bbafa9830544e8ec8ce0e4b5754d98c49.tar.gz
Match variable types to method so will build if switched to 64-bit.
-rw-r--r--test/unit/testDecoration.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/testDecoration.cxx b/test/unit/testDecoration.cxx
index 05b636bd8..6f94ac21f 100644
--- a/test/unit/testDecoration.cxx
+++ b/test/unit/testDecoration.cxx
@@ -70,8 +70,8 @@ TEST_CASE("DecorationList") {
decol.SetCurrentIndicator(indicator);
decol.InsertSpace(0, 9);
const int value = 59;
- int position = 4;
- int fillLength = 3;
+ Sci::Position position = 4;
+ Sci::Position fillLength = 3;
bool changed = decol.FillRange(position, value, fillLength);
REQUIRE(changed);
REQUIRE(position == 4);