Suppressed MSVC++ warning C4267
'=': conversion from 'size_t' to 'ai_uint32', possible loss of datapull/2905/head
parent
bdc10aa336
commit
986c18501a
|
@ -211,7 +211,7 @@ aiNode* XFileImporter::CreateNodes( aiScene* pScene, aiNode* pParent, const XFil
|
|||
|
||||
// create node
|
||||
aiNode* node = new aiNode;
|
||||
node->mName.length = pNode->mName.length();
|
||||
node->mName.length = (ai_uint32)pNode->mName.length();
|
||||
node->mParent = pParent;
|
||||
memcpy( node->mName.data, pNode->mName.c_str(), pNode->mName.length());
|
||||
node->mName.data[node->mName.length] = 0;
|
||||
|
|
Loading…
Reference in New Issue