aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-03-22 14:06:11 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-03-22 14:06:11 -0300
commit9fa63a62682c1353eeabd4575152941fa6f3e70f (patch)
tree1aad2dd0de78388f6be134399ae4183692ce377f /ltests.c
parent0593256707ceddb1bc9cd4b25b822a7fbcfedd66 (diff)
downloadlua-9fa63a62682c1353eeabd4575152941fa6f3e70f.tar.gz
lua-9fa63a62682c1353eeabd4575152941fa6f3e70f.tar.bz2
lua-9fa63a62682c1353eeabd4575152941fa6f3e70f.zip
Some 'unsigned int' changed to 'unsigned'
'unsigned int' is too long sometimes. (We already write 'long' instead of 'long int'...)
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c2
1 files changed, 1 insertions, 1 deletions
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) {
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);