From fac392d6cbb1e53a73c3906ca95460d7e42a8fe3 Mon Sep 17 00:00:00 2001 From: Matias Lavik Date: Sat, 6 Apr 2019 23:44:14 +0200 Subject: [PATCH] Added missing include and fixed a mistake --- code/FBXUtil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/FBXUtil.cpp b/code/FBXUtil.cpp index 1a9bea914..fb483161b 100644 --- a/code/FBXUtil.cpp +++ b/code/FBXUtil.cpp @@ -49,6 +49,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include +#include #ifndef ASSIMP_BUILD_NO_FBX_IMPORTER @@ -126,7 +127,7 @@ static const uint8_t base64DecodeTable[128] = { uint8_t DecodeBase64(char ch) { - return base64DecodeTable[ch]; + return base64DecodeTable[size_t(ch)]; } size_t DecodeBase64(const char* in, size_t inLength, uint8_t*& out)