#include "StreamReader.h"
#include "MemoryIOWrapper.h"
#include <cctype>
+#include <cstdint>
// zlib is needed for compressed blend files
// check if the file contents are bundled with the BLEND file
if (img->packedfile) {
name.data[0] = '*';
- name.length = 1+ ASSIMP_itoa10(name.data+1,static_cast<unsigned int>(MAXLEN-1), static_cast<unsigned int>(conv_data.textures->size()));
+ name.length = 1+ ASSIMP_itoa10(name.data+1,static_cast<unsigned int>(MAXLEN-1), static_cast<int32_t>(conv_data.textures->size()));
conv_data.textures->push_back(new aiTexture());
aiTexture* tex = conv_data.textures->back();