[nostalgia] Fix Mac build

This commit is contained in:
2020-05-09 18:44:37 -05:00
parent 819959745d
commit 86652ca8d4
6 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ using namespace common;
using namespace core;
ox::Error Zone::init(Context *ctx, Bounds bnds, ox::FileAddress tileSheet, ox::FileAddress palette) {
const auto size = bnds.width * bnds.height;
const auto size = static_cast<std::size_t>(bnds.width * bnds.height);
m_tiles = new Tile[size];
m_bounds = bnds;
return core::loadTileSheet(ctx, core::TileSheetSpace::Background, 0, tileSheet, palette);