aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/DBCS.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DBCS.cxx')
-rw-r--r--src/DBCS.cxx2
1 files changed, 1 insertions, 1 deletions
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<unsigned char>(ch);
+ const unsigned char uch = ch;
switch (codePage) {
case 932:
// Shift_jis