diff options
author | nyamatongwe <unknown> | 2004-02-21 22:10:01 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2004-02-21 22:10:01 +0000 |
commit | 894a9db92f77e0ca1956dda0d54cbfa8fb2d0c6f (patch) | |
tree | d5197429cbfd5137b3e68868bf0415c9eaab207c /src | |
parent | 061ad50f434fae0476a893212a299d1261d91407 (diff) | |
download | scintilla-mirror-894a9db92f77e0ca1956dda0d54cbfa8fb2d0c6f.tar.gz |
Avoid warning when char type is unsigned.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index a07d0bee7..163757c34 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -489,7 +489,7 @@ int Editor::MaxScrollPos() { } } -static inline bool IsControlCharacter(char ch) { +static inline bool IsControlCharacter(int ch) { // iscntrl returns true for lots of chars > 127 which are displayable return ch >= 0 && ch < ' '; } |