Fixed some trivial compiler warnings

This commit is contained in:
Alex Szpakowski
2014-03-12 17:55:19 -03:00
parent a13fd761cc
commit 4faddcd9aa
8 changed files with 37 additions and 21 deletions
+1 -1
View File
@@ -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);
}