1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Part of #11158: Remove more C-style casts (#11743)

This commit is contained in:
Michael Steenbeek
2020-05-14 02:22:50 +02:00
committed by GitHub
parent 32609791de
commit f0bd05cf6d
17 changed files with 40 additions and 39 deletions

View File

@@ -57,7 +57,7 @@ void ImageTable::Read(IReadObjectContext* context, IStream* stream)
}
// Read g1 element headers
uintptr_t imageDataBase = (uintptr_t)data.get();
uintptr_t imageDataBase = reinterpret_cast<uintptr_t>(data.get());
std::vector<rct_g1_element> newEntries;
for (uint32_t i = 0; i < numImages; i++)
{