aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 < ' ';
}