mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 21:43:06 +01:00
Fix many warnings for x64
This commit is contained in:
@@ -40,7 +40,7 @@ int NetworkActions::FindCommand(int command)
|
||||
});
|
||||
if (it != Actions.end())
|
||||
{
|
||||
return it - Actions.begin();
|
||||
return (int)(it - Actions.begin());
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
@@ -57,7 +57,7 @@ int NetworkActions::FindCommandByPermissionName(const std::string &permission_na
|
||||
});
|
||||
if (it != Actions.end())
|
||||
{
|
||||
return it - Actions.begin();
|
||||
return (int)(it - Actions.begin());
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user