aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/LexAccessor.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-04-22 08:35:01 +1000
committerNeil <nyamatongwe@gmail.com>2018-04-22 08:35:01 +1000
commitf7cab317b777bb8fedb4bd8f4eeb7e68bf712989 (patch)
treea80432017efd0e8b427bb7b2e3cd6eedf48de57d /lexlib/LexAccessor.h
parentdc7c28cfcf21c18f96a49f2cc0818d4f676bd301 (diff)
downloadscintilla-mirror-f7cab317b777bb8fedb4bd8f4eeb7e68bf712989.tar.gz
Remove casts between char and unsigned char where possible.
Diffstat (limited to 'lexlib/LexAccessor.h')
-rw-r--r--lexlib/LexAccessor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/LexAccessor.h b/lexlib/LexAccessor.h
index d08bf3705..87557d8c1 100644
--- a/lexlib/LexAccessor.h
+++ b/lexlib/LexAccessor.h
@@ -106,7 +106,7 @@ public:
return true;
}
char StyleAt(Sci_Position position) const {
- return static_cast<char>(pAccess->StyleAt(position));
+ return pAccess->StyleAt(position);
}
Sci_Position GetLine(Sci_Position position) const {
return pAccess->LineFromPosition(position);