Squash MSVC Warnings

Update HECL
This commit is contained in:
Phillip 2015-11-13 22:42:14 -08:00
parent 79cf5f12ca
commit de8ec7e4f0
2 changed files with 4 additions and 4 deletions

View File

@ -108,7 +108,7 @@ bool ReadMAPAToBlender(HECL::BlenderConnection& conn,
if (GX::Primitive(prim.type) == GX::TRIANGLESTRIP)
{
atUint8 flip = 0;
for (int v=0 ; v<prim.indexCount-2 ; ++v)
for (size_t v=0 ; v<prim.indexCount-2 ; ++v)
{
if (flip)
{
@ -138,7 +138,7 @@ bool ReadMAPAToBlender(HECL::BlenderConnection& conn,
}
else if (GX::Primitive(prim.type) == GX::TRIANGLES)
{
for (int v=0 ; v<prim.indexCount ; v+=3)
for (size_t v=0 ; v<prim.indexCount ; v+=3)
{
os.format("add_triangle(bm, (%u,%u,%u))\n",
primVerts[0],
@ -159,7 +159,7 @@ bool ReadMAPAToBlender(HECL::BlenderConnection& conn,
for (const typename MAPA::Surface::Border& border : surf.borders)
{
auto iit = border.indices.cbegin();
for (int i=0 ; i<border.indexCount-1 ; ++i)
for (size_t i=0 ; i<border.indexCount-1 ; ++i)
{
os.format("add_border(bm, (%u,%u))\n",
*iit, *(iit+1));

2
hecl

@ -1 +1 @@
Subproject commit d4460a3970f70e56248464533448169f81301ce3
Subproject commit cfe192145c409d479770ca7d2f208424c4baf8a3