From 9fa63a62682c1353eeabd4575152941fa6f3e70f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 22 Mar 2024 14:06:11 -0300 Subject: Some 'unsigned int' changed to 'unsigned' 'unsigned int' is too long sometimes. (We already write 'long' instead of 'long int'...) --- ltests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 1a34870e..4780673e 100644 --- a/ltests.c +++ b/ltests.c @@ -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); -- cgit v1.2.3-55-g6feb