diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-09-06 15:12:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 15:12:58 +0200 |
commit | 5e424d791bd98c18a81a36405a419237abcc8116 (patch) | |
tree | dd83795955a607612d27f324bdb1bfab63de2c38 /src/dedicated_room/yuzu_room.cpp | |
parent | Merge pull request #11437 from liamwhite/dump-shenanigans (diff) | |
parent | msvc: set warning level to /W4 globally (diff) | |
download | yuzu-5e424d791bd98c18a81a36405a419237abcc8116.tar yuzu-5e424d791bd98c18a81a36405a419237abcc8116.tar.gz yuzu-5e424d791bd98c18a81a36405a419237abcc8116.tar.bz2 yuzu-5e424d791bd98c18a81a36405a419237abcc8116.tar.lz yuzu-5e424d791bd98c18a81a36405a419237abcc8116.tar.xz yuzu-5e424d791bd98c18a81a36405a419237abcc8116.tar.zst yuzu-5e424d791bd98c18a81a36405a419237abcc8116.zip |
Diffstat (limited to 'src/dedicated_room/yuzu_room.cpp')
-rw-r--r-- | src/dedicated_room/yuzu_room.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dedicated_room/yuzu_room.cpp b/src/dedicated_room/yuzu_room.cpp index d707dabe2..93038f161 100644 --- a/src/dedicated_room/yuzu_room.cpp +++ b/src/dedicated_room/yuzu_room.cpp @@ -368,9 +368,9 @@ int main(int argc, char** argv) { if (auto room = network.GetRoom().lock()) { AnnounceMultiplayerRoom::GameInfo preferred_game_info{.name = preferred_game, .id = preferred_game_id}; - if (!room->Create(room_name, room_description, bind_address, port, password, max_members, - username, preferred_game_info, std::move(verify_backend), ban_list, - enable_yuzu_mods)) { + if (!room->Create(room_name, room_description, bind_address, static_cast<u16>(port), + password, max_members, username, preferred_game_info, + std::move(verify_backend), ban_list, enable_yuzu_mods)) { LOG_INFO(Network, "Failed to create room: "); return -1; } |