Fix sign mismatch warning

This commit is contained in:
Hielke Morsink 2017-12-20 15:38:40 +01:00 committed by Michael Steenbeek
parent b6718d08d4
commit 916060907f
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ sint32 find_object_in_entry_group(const rct_object_entry* entry, uint8* entry_ty
void get_type_entry_index(size_t index, uint8 * outObjectType, uint8 * outEntryIndex)
{
uint8 objectType = OBJECT_TYPE_RIDE;
for (auto groupCount : object_entry_group_counts)
for (size_t groupCount : object_entry_group_counts)
{
if (index >= groupCount) {
index -= groupCount;