aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/LexLua.cxx2
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;
}