Commit cf81e50f authored by hybrid's avatar hybrid

Fix signedness warning.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2184 dfc29bdd-3216-0410-991c-e03cc46cb475
parent a6a9950c
...@@ -217,10 +217,10 @@ IAnimatedMesh* CLWOMeshFileLoader::createMesh(io::IReadFile* file) ...@@ -217,10 +217,10 @@ IAnimatedMesh* CLWOMeshFileLoader::createMesh(io::IReadFile* file)
const u16 uvTag = Materials[tag]->Texture[0].UVTag; const u16 uvTag = Materials[tag]->Texture[0].UVTag;
const u16 duvTag = Materials[tag]->Texture[0].DUVTag; const u16 duvTag = Materials[tag]->Texture[0].DUVTag;
video::S3DVertex vertex; video::S3DVertex vertex;
const s32 vertCount=mb->Vertices.size(); const u32 vertCount=mb->Vertices.size();
for (u32 i=0; i<polySize; ++i) for (u32 i=0; i<polySize; ++i)
{ {
const s32 j=poly[i]; const u32 j=poly[i];
vertex.Pos=Points[j]; vertex.Pos=Points[j];
if (uvTag<UvIndex.size()) if (uvTag<UvIndex.size())
{ {
......
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