Fix code analysis warnings

This commit is contained in:
momo5502 2016-11-11 19:19:02 +01:00
parent aaf9325f07
commit d6a9bdfc65

View File

@ -136,7 +136,7 @@ namespace Components
surfs->numSurfaces = newSurfs->numSurfaces;
model->lods[i].surfs = newSurfs->surfaces;
std::memcpy(model->lods[i].partBits, newSurfs->pad, 24);
std::memcpy(&model->lods[i].partBits, newSurfs->pad, 24);
short numSurfs = static_cast<short>(newSurfs->numSurfaces);
model->lods[i].numSurfs = numSurfs;