mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-09 22:28:38 +01:00
size() returns a size_t.
This commit is contained in:
parent
e674cd96e5
commit
a1037e3bf2
1 changed files with 1 additions and 1 deletions
|
@ -1250,7 +1250,7 @@ void Callback(Common_Message *msg)
|
|||
if (msg->lobby().owner() != settings->get_local_steam_id().ConvertToUint64() && msg->lobby().appid() == settings->get_local_game_id().AppID()) {
|
||||
Lobby *lobby = get_lobby((uint64)msg->lobby().room_id());
|
||||
if (!lobby) {
|
||||
unsigned int old_size = lobbies.size();
|
||||
size_t old_size = lobbies.size();
|
||||
lobbies.resize(old_size + 1);
|
||||
lobbies[old_size].set_room_id(msg->lobby().room_id());
|
||||
lobby = &(lobbies[old_size]);
|
||||
|
|
Loading…
Reference in a new issue