Commit 5e9f74d7 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'fix_warning' into 'master'

size_t int warning

See merge request !109
parents 5bff49b6 3b0ee931
Pipeline #3838 passed with stage
in 42 minutes and 7 seconds
......@@ -273,11 +273,11 @@ write(std::ostream& _out, BaseExporter& _be, Options _opt, std::streamsize _prec
//collect Texturevertices from vertices
if(_opt.check(Options::VertexTexCoord))
{
for (int i=0, nF=_be.n_faces(); i<nF; ++i)
for (size_t i=0, nF=_be.n_faces(); i<nF; ++i)
{
vh = VertexHandle(int(i));
vh = VertexHandle(static_cast<int>(i));
t = _be.texcoord(vh);
texMap[t] = i;
texMap[t] = static_cast<int>(i);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment