mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Fixed some trivial compiler warnings
This commit is contained in:
@@ -202,7 +202,7 @@ uint16 Fixture::getBits(lua_State *L)
|
||||
{
|
||||
size_t bpos = (size_t)(lua_tointeger(L, i)-1);
|
||||
if (bpos >= 16)
|
||||
return luaL_error(L, "Values must be in range 1-16.");
|
||||
luaL_error(L, "Values must be in range 1-16.");
|
||||
b.set(bpos, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user