1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 13:03:11 +01:00

Use named casts on openrct2/ride (#11163)

Excluding subfolders
This commit is contained in:
Tulio Leao
2020-04-17 14:53:33 -03:00
committed by GitHub
parent 116bcb5ccb
commit b449e445f7
9 changed files with 136 additions and 125 deletions

View File

@@ -141,7 +141,7 @@ static int32_t tile_element_get_total_element_count(TileElement* tileElement)
{
tile++;
elementCount++;
} while (tile->x_offset != (int16_t)(uint16_t)0xFFFF);
} while (tile->x_offset != static_cast<int16_t>(static_cast<uint16_t>(0xFFFF)));
return elementCount;
default: