diff options
author | Neil <nyamatongwe@gmail.com> | 2018-01-21 13:05:13 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-01-21 13:05:13 +1100 |
commit | 08e295764cdb0ab8fce8b49ace033cd44e96fcc5 (patch) | |
tree | 1e3bed32f0de1b3ec57e32a60960a21c0156eaae | |
parent | 0b8fe53a6531f001066b7ff10657484050154302 (diff) | |
download | scintilla-mirror-08e295764cdb0ab8fce8b49ace033cd44e96fcc5.tar.gz |
Backport: Match variable types to method so will build if switched to 64-bit.
Backport of changeset 6430:754319cc6aaa.
-rw-r--r-- | test/unit/testDecoration.cxx | 4 |
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); |