mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 19:25:35 +08:00
size() returns a size_t.
This commit is contained in:
parent
e674cd96e5
commit
a1037e3bf2
@ -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 New Issue
Block a user