Fix compile error

Add parens to use of 'sizeof' operator
This commit is contained in:
JeffH-BMG
2018-03-06 15:03:44 -05:00
committed by GitHub
parent 05cf8bfb2e
commit 6fd64b95c3

View File

@@ -471,7 +471,7 @@ bool STLImporter::LoadBinaryFile()
// vertex 3
*vp++ = *theVec;
sz += 4 * sizeof aiVector3F;
sz += 4 * sizeof( aiVector3F );
uint16_t color = *((uint16_t*)sz);
sz += 2;