diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-22 08:35:01 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-22 08:35:01 +1000 |
commit | f7cab317b777bb8fedb4bd8f4eeb7e68bf712989 (patch) | |
tree | a80432017efd0e8b427bb7b2e3cd6eedf48de57d /src/CellBuffer.cxx | |
parent | dc7c28cfcf21c18f96a49f2cc0818d4f676bd301 (diff) | |
download | scintilla-mirror-f7cab317b777bb8fedb4bd8f4eeb7e68bf712989.tar.gz |
Remove casts between char and unsigned char where possible.
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r-- | src/CellBuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 58ab3b3f4..52259031c 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -382,7 +382,7 @@ char CellBuffer::CharAt(Sci::Position position) const noexcept { } unsigned char CellBuffer::UCharAt(Sci::Position position) const noexcept { - return static_cast<unsigned char>(substance.ValueAt(position)); + return substance.ValueAt(position); } void CellBuffer::GetCharRange(char *buffer, Sci::Position position, Sci::Position lengthRetrieve) const { |