Fix implicit conversion errors on macOS

This commit is contained in:
Aaron Jacobs
2023-02-16 15:16:54 -08:00
parent 4950d02bac
commit e4386d3013
4 changed files with 6 additions and 6 deletions

View File

@@ -975,7 +975,7 @@ void MDLImporter::CalcAbsBoneMatrices_3DGS_MDL7(MDL::IntBone_MDL7 **apcOutBones)
}
// store the name of the bone
pcOutBone->mName.length = (size_t)iMaxLen;
pcOutBone->mName.length = (ai_uint32)iMaxLen;
::memcpy(pcOutBone->mName.data, pcBone->name, pcOutBone->mName.length);
pcOutBone->mName.data[pcOutBone->mName.length] = '\0';
}