diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1008,7 +1008,7 @@ static int table_query (lua_State *L) { | |||
1008 | lua_pushinteger(L, t->alimit); | 1008 | lua_pushinteger(L, t->alimit); |
1009 | return 3; | 1009 | return 3; |
1010 | } | 1010 | } |
1011 | else if ((unsigned int)i < asize) { | 1011 | else if (cast_uint(i) < asize) { |
1012 | lua_pushinteger(L, i); | 1012 | lua_pushinteger(L, i); |
1013 | arr2obj(t, i + 1, s2v(L->top.p)); | 1013 | arr2obj(t, i + 1, s2v(L->top.p)); |
1014 | api_incr_top(L); | 1014 | api_incr_top(L); |