diff options
| author | Neil Hodgson <nyamatongwe@gmail.com> | 2016-09-14 15:06:13 +1000 | 
|---|---|---|
| committer | Neil Hodgson <nyamatongwe@gmail.com> | 2016-09-14 15:06:13 +1000 | 
| commit | 427f3dabfedb6f9b66c15d93a013b9beaf089e37 (patch) | |
| tree | eda7a1c73570b20202a46081707d1fe9949a475a /src/Editor.cxx | |
| parent | 5ca7dd65bb30f05ad8aa6bfd269d812e766930da (diff) | |
| download | scintilla-mirror-427f3dabfedb6f9b66c15d93a013b9beaf089e37.tar.gz | |
Casts for 64 to 32-bit conversions on OS X.
Diffstat (limited to 'src/Editor.cxx')
| -rw-r--r-- | src/Editor.cxx | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/Editor.cxx b/src/Editor.cxx index f9ac97b45..bb608d08c 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -739,8 +739,8 @@ void Editor::MultipleSelectAdd(AddNumber addNumber) {  			const int searchEnd = it->end;  			for (;;) {  				int lengthFound = static_cast<int>(selectedText.length()); -				int pos = pdoc->FindText(searchStart, searchEnd, selectedText.c_str(), -					searchFlags, &lengthFound); +				int pos = static_cast<int>(pdoc->FindText(searchStart, searchEnd, +					selectedText.c_str(), searchFlags, &lengthFound));  				if (pos >= 0) {  					sel.AddSelection(SelectionRange(pos + lengthFound, pos));  					ScrollRange(sel.RangeMain()); | 
