Fix c++11 usage.

pull/1918/head
kimkulling 2018-04-26 15:05:49 +02:00
parent 3d79472172
commit 75c7b15b55
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ void MDLImporter::SearchPalette(const unsigned char** pszColorMap)
{
if (pcStream->FileSize() >= 768)
{
constexpr size_t len = 256 * 3;
size_t len = 256 * 3;
unsigned char* colorMap = new unsigned char[len];
szColorMap = colorMap;
pcStream->Read(colorMap, len,1);