Added missing include and fixed a mistake
parent
015e960d0e
commit
fac392d6cb
|
@ -49,6 +49,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <assimp/TinyFormatter.h>
|
#include <assimp/TinyFormatter.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <cstring>
|
||||||
|
|
||||||
#ifndef ASSIMP_BUILD_NO_FBX_IMPORTER
|
#ifndef ASSIMP_BUILD_NO_FBX_IMPORTER
|
||||||
|
|
||||||
|
@ -126,7 +127,7 @@ static const uint8_t base64DecodeTable[128] = {
|
||||||
|
|
||||||
uint8_t DecodeBase64(char ch)
|
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)
|
size_t DecodeBase64(const char* in, size_t inLength, uint8_t*& out)
|
||||||
|
|
Loading…
Reference in New Issue