- fbx: fix 64 bit compile warning.

pull/14/head
Alexander Gessler 2012-07-26 04:04:29 +02:00
parent c882ef841f
commit 44606a1e53
1 changed files with 2 additions and 2 deletions

View File

@ -718,9 +718,9 @@ private:
// be moved, causing trouble when users read only the first
// UV channel and ignore UV channel assignments altogether.
const unsigned int matIndex = std::distance(materials.begin(),
const unsigned int matIndex = static_cast<unsigned int>(std::distance(materials.begin(),
std::find(materials.begin(),materials.end(),out_mat)
);
));
uvIndex = -1;
BOOST_FOREACH(const MeshMap::value_type& v,meshes_converted) {