compilation fix for 64bits systems

This commit is contained in:
Paolo Cignoni 2008-10-24 12:41:50 +00:00
parent 24ea4251a9
commit 64fcbc961a
1 changed files with 3 additions and 3 deletions

View File

@ -159,9 +159,9 @@ void SubSet(S_MESH_TYPE & m, STL_CONT & subSet)
for(fi=m.face.begin(); fi!=m.face.end(); ++fi) for(fi=m.face.begin(); fi!=m.face.end(); ++fi)
{ {
(*fi).V(0)=redirect[(int)(*fi).V(0)]; (*fi).V(0)=redirect[(size_t)(*fi).V(0)];
(*fi).V(1)=redirect[(int)(*fi).V(1)]; (*fi).V(1)=redirect[(size_t)(*fi).V(1)];
(*fi).V(2)=redirect[(int)(*fi).V(2)]; (*fi).V(2)=redirect[(size_t)(*fi).V(2)];
} }
m.vn=(int)m.vert.size(); m.vn=(int)m.vert.size();
m.fn=(int)m.face.size(); m.fn=(int)m.face.size();