From f7cab317b777bb8fedb4bd8f4eeb7e68bf712989 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 22 Apr 2018 08:35:01 +1000 Subject: Remove casts between char and unsigned char where possible. --- src/CellBuffer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CellBuffer.cxx') 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(substance.ValueAt(position)); + return substance.ValueAt(position); } void CellBuffer::GetCharRange(char *buffer, Sci::Position position, Sci::Position lengthRetrieve) const { -- cgit v1.2.3