aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lobject.c b/lobject.c
index 7b118602..54c82d2c 100644
--- a/lobject.c
+++ b/lobject.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.c,v 2.50 2011/06/16 14:13:22 roberto Exp roberto $ 2** $Id: lobject.c,v 2.51 2011/06/23 16:01:06 roberto Exp roberto $
3** Some generic functions over Lua objects 3** Some generic functions over Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -86,7 +86,7 @@ lua_Number luaO_arith (int op, lua_Number v1, lua_Number v2) {
86 86
87int luaO_hexavalue (int c) { 87int luaO_hexavalue (int c) {
88 if (lisdigit(c)) return c - '0'; 88 if (lisdigit(c)) return c - '0';
89 else return ltoupper(c) - 'A' + 10; 89 else return ltolower(c) - 'a' + 10;
90} 90}
91 91
92 92