Some 'unsigned int' changed to 'unsigned'

'unsigned int' is too long sometimes. (We already write 'long' instead
of 'long int'...)
This commit is contained in:
Roberto Ierusalimschy
2024-03-22 14:06:11 -03:00
parent 0593256707
commit 9fa63a6268
9 changed files with 24 additions and 25 deletions

View File

@@ -1008,7 +1008,7 @@ static int table_query (lua_State *L) {
lua_pushinteger(L, t->alimit);
return 3;
}
else if ((unsigned int)i < asize) {
else if (cast_uint(i) < asize) {
lua_pushinteger(L, i);
arr2obj(t, i + 1, s2v(L->top.p));
api_incr_top(L);