aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2004-02-21 22:10:01 +0000
committernyamatongwe <devnull@localhost>2004-02-21 22:10:01 +0000
commitba957224c3fbd959ca36db4027d344efe2b67c80 (patch)
treed5197429cbfd5137b3e68868bf0415c9eaab207c
parentf4a938df11f154a52502e36aaf56cc6e77e3a94c (diff)
downloadscintilla-mirror-ba957224c3fbd959ca36db4027d344efe2b67c80.tar.gz
Avoid warning when char type is unsigned.
-rw-r--r--src/Editor.cxx2
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 < ' ';
}