diff options
author | nyamatongwe <devnull@localhost> | 2003-09-08 12:40:02 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-09-08 12:40:02 +0000 |
commit | 25a3560e44aa41dd38b5e2a525ca6bfded55abd5 (patch) | |
tree | b21fe81164705336a66499176c5c2b90a518bb29 /src | |
parent | 84f2bc71d1881b5c04427a9086e0b2acadc70032 (diff) | |
download | scintilla-mirror-25a3560e44aa41dd38b5e2a525ca6bfded55abd5.tar.gz |
Avoid warning by promoting char to int.
Diffstat (limited to 'src')
-rw-r--r-- | src/LexLua.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexLua.cxx b/src/LexLua.cxx index 926557750..3781eed83 100644 --- a/src/LexLua.cxx +++ b/src/LexLua.cxx @@ -39,7 +39,7 @@ static inline bool IsANumberChar(const int ch) { ch == '.' || ch == '-' || ch == '+'); } -static inline bool IsLuaOperator(char ch) { +static inline bool IsLuaOperator(int ch) { if (ch >= 0x80 || isalnum(ch)) { return false; } |