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/DBCS.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/DBCS.cxx') diff --git a/src/DBCS.cxx b/src/DBCS.cxx index 644cad04d..148c9818e 100644 --- a/src/DBCS.cxx +++ b/src/DBCS.cxx @@ -13,7 +13,7 @@ namespace Scintilla { bool DBCSIsLeadByte(int codePage, char ch) noexcept { // Byte ranges found in Wikipedia articles with relevant search strings in each case - const unsigned char uch = static_cast(ch); + const unsigned char uch = ch; switch (codePage) { case 932: // Shift_jis -- cgit v1.2.3