diff options
Diffstat (limited to 'ltests.c')
| -rw-r--r-- | ltests.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltests.c,v 2.113 2010/11/16 17:43:29 roberto Exp roberto $ | 2 | ** $Id: ltests.c,v 2.114 2010/11/26 14:32:31 roberto Exp roberto $ |
| 3 | ** Internal Module for Debugging of the Lua Implementation | 3 | ** Internal Module for Debugging of the Lua Implementation |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -937,9 +937,9 @@ static int getnum_aux (lua_State *L, lua_State *L1, const char **pc) { | |||
| 937 | sig = -1; | 937 | sig = -1; |
| 938 | (*pc)++; | 938 | (*pc)++; |
| 939 | } | 939 | } |
| 940 | if (!lisdigit(cast(unsigned char, **pc))) | 940 | if (!lisdigit(cast_uchar(**pc))) |
| 941 | luaL_error(L, "number expected (%s)", *pc); | 941 | luaL_error(L, "number expected (%s)", *pc); |
| 942 | while (lisdigit(cast(unsigned char, **pc))) res = res*10 + (*(*pc)++) - '0'; | 942 | while (lisdigit(cast_uchar(**pc))) res = res*10 + (*(*pc)++) - '0'; |
| 943 | return sig*res; | 943 | return sig*res; |
| 944 | } | 944 | } |
| 945 | 945 | ||
