From cfd56a43a578f77a1c63a95ed28084a3ae3c4e6e Mon Sep 17 00:00:00 2001 From: JeffH-BMG <37119778+JeffH-BMG@users.noreply.github.com> Date: Wed, 7 Mar 2018 18:24:38 -0500 Subject: [PATCH] Fix compile error Fixed bad cast. --- code/STLLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/STLLoader.cpp b/code/STLLoader.cpp index e01162a30..3a85a5495 100644 --- a/code/STLLoader.cpp +++ b/code/STLLoader.cpp @@ -485,7 +485,7 @@ bool STLImporter::LoadBinaryFile() ++theVec; ++vp; - sz = theVec; + sz = (const unsigned char*) theVec; uint16_t color = *((uint16_t*)sz); sz += 2;