import_asc.h:

- removed Visual Studio warnings
This commit is contained in:
granzuglia 2014-08-09 09:47:24 +00:00
parent 622a67ccc9
commit 42a5755fb0
1 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ static int Open( MESH_TYPE &m, const char * filename, CallBackPos *cb=0, bool tr
Point3f pp;
float q;
int cnt=0;
size_t cnt=0;
int ret;
char buf[1024];
@ -140,7 +140,7 @@ static int Open( MESH_TYPE &m, const char * filename, CallBackPos *cb=0, bool tr
}
cnt=m.vert.size();
qDebug("Grid is %i x %i = %i (%i) ",i,cnt/i,i* (cnt/i),cnt);
tri::FaceGrid(m,i,cnt/i);
tri::FaceGrid(m,i,int(cnt/i));
tri::Clean<CMeshO>::FlipMesh(m);
return E_NOERROR;
}