Fixes for some warnings in the gcc4 linux 64 build.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@134 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -179,7 +179,7 @@ void STLImporter::LoadASCIIFile()
|
||||
unsigned int temp;
|
||||
|
||||
// setup the name of the node
|
||||
if (temp = (unsigned int)(sz-szMe))
|
||||
if ((temp = (unsigned int)(sz-szMe)))
|
||||
{
|
||||
pScene->mRootNode->mName.length = temp;
|
||||
::memcpy(pScene->mRootNode->mName.data,szMe,temp);
|
||||
|
||||
Reference in New Issue
Block a user