Fixed some compiler warnings

This commit is contained in:
Alex Szpakowski
2013-12-07 05:07:54 -04:00
parent eadb718ade
commit 2ee869b0e8
9 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -223,9 +223,9 @@ int w_isConvex(lua_State *L)
}
else
{
size_t top = lua_gettop(L);
int top = lua_gettop(L);
vertices.reserve(top / 2);
for (size_t i = 1; i <= top; i += 2)
for (int i = 1; i <= top; i += 2)
{
Vertex v;
v.x = (float) luaL_checknumber(L, i);