1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Replace our own integer types with standard ones

This commit is contained in:
Michael Steenbeek
2018-06-20 17:28:51 +02:00
parent ec3a1e575e
commit 1b08fb4e69
618 changed files with 33440 additions and 33449 deletions

View File

@@ -33,7 +33,7 @@ NetworkUser * NetworkUser::FromJson(json_t * json)
user->Hash = std::string(hash);
user->Name = std::string(name);
if (!json_is_null(jsonGroupId)) {
user->GroupId = (uint8)json_integer_value(jsonGroupId);
user->GroupId = (uint8_t)json_integer_value(jsonGroupId);
}
user->Remove = false;
return user;
@@ -171,7 +171,7 @@ void NetworkUserManager::Save()
json_decref(jsonUsers);
}
void NetworkUserManager::UnsetUsersOfGroup(uint8 groupId)
void NetworkUserManager::UnsetUsersOfGroup(uint8_t groupId)
{
for (const auto &kvp : _usersByHash)
{