diff options
author | nyamatongwe <unknown> | 2009-05-03 09:27:20 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-05-03 09:27:20 +0000 |
commit | 14e262a08fdf37ad19b1aa27752087a87a010b84 (patch) | |
tree | cb1c262a006d5aa4f9446b3530a046d369b51221 /src | |
parent | fcd6000ae9db0766a65cc0ab1b7da2cfa2b2f30f (diff) | |
download | scintilla-mirror-14e262a08fdf37ad19b1aa27752087a87a010b84.tar.gz |
Fixed signed/unsigned issue.
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 0ec0b9160..28a0ce60e 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -504,7 +504,7 @@ int Editor::PositionFromLocation(Point pt, bool canReturnInvalid, bool charPosit if (lineDoc >= pdoc->LinesTotal()) return canReturnInvalid ? INVALID_POSITION : pdoc->Length(); unsigned int posLineStart = pdoc->LineStart(lineDoc); - int retVal = canReturnInvalid ? INVALID_POSITION : posLineStart; + int retVal = canReturnInvalid ? INVALID_POSITION : static_cast<int>(posLineStart); AutoSurface surface(this); AutoLineLayout ll(llc, RetrieveLineLayout(lineDoc)); if (surface && ll) { |