Fix compile error
Fixed bad cast.
This commit is contained in:
@@ -485,7 +485,7 @@ bool STLImporter::LoadBinaryFile()
|
||||
++theVec;
|
||||
++vp;
|
||||
|
||||
sz = theVec;
|
||||
sz = (const unsigned char*) theVec;
|
||||
|
||||
uint16_t color = *((uint16_t*)sz);
|
||||
sz += 2;
|
||||
|
||||
Reference in New Issue
Block a user