mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 21:13:05 +01:00
Fix sign mismatch warning
This commit is contained in:
committed by
Michael Steenbeek
parent
b6718d08d4
commit
916060907f
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user