Fixed VS build.

This commit is contained in:
Branimir Karadžić 2019-01-06 11:52:21 -08:00
parent 6e680baa15
commit 30d706a562
1 changed files with 1 additions and 1 deletions

View File

@ -1177,7 +1177,7 @@ bool TileGenerator::generate(const bx::FilePath& _filename)
return false;
}
uint8_t* rawImage = (uint8_t*)BX_ALLOC(VirtualTexture::getAllocator(), size);
uint8_t* rawImage = (uint8_t*)BX_ALLOC(VirtualTexture::getAllocator(), size_t(size) );
bx::read(&fileReader, rawImage, int32_t(size), &err);
bx::close(&fileReader);