Suppressed MSVC++ warning C4267

'=': conversion from 'size_t' to 'ai_uint32', possible loss of data
pull/2905/head
Matthias Moulin 2020-01-16 18:30:11 +01:00 committed by GitHub
parent 784a05651b
commit bdc10aa336
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ void UnrealImporter::InternReadFile( const std::string& pFile,
// set color and name
mat->AddProperty(&color,1,AI_MATKEY_COLOR_DIFFUSE);
s.length = ::strlen(s.data);
s.length = (ai_uint32)::strlen(s.data);
mat->AddProperty(&s,AI_MATKEY_NAME);
// set texture, if any