mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
eliminated a whole bunch of gcc warnings
This commit is contained in:
@@ -218,7 +218,7 @@ namespace box2d
|
||||
for(int i = 1;i<=argc;i++)
|
||||
{
|
||||
size_t bpos = (size_t)(lua_tointeger(L, i)-1);
|
||||
if(bpos < 0 || bpos > 16)
|
||||
if(bpos > 16)
|
||||
return luaL_error(L, "Values must be in range 1-16.");
|
||||
b.set(bpos, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user