diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-03-22 14:06:11 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-03-22 14:06:11 -0300 |
commit | 9fa63a62682c1353eeabd4575152941fa6f3e70f (patch) | |
tree | 1aad2dd0de78388f6be134399ae4183692ce377f /ltests.c | |
parent | 0593256707ceddb1bc9cd4b25b822a7fbcfedd66 (diff) | |
download | lua-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.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); |