diff options
author | FearlessTobi <thm.frey@gmail.com> | 2022-07-15 19:45:35 +0200 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2022-07-25 21:59:30 +0200 |
commit | 6c8e45618578de1406c0bf4a7f976bd4903c339c (patch) | |
tree | 25b959db6f30fe75bf5c6fa667ed92af71117986 /src/yuzu/multiplayer/chat_room.cpp | |
parent | ec407bd3f1988c6f5d147307c662703c7bc94751 (diff) |
Address first part of review comments
Diffstat (limited to 'src/yuzu/multiplayer/chat_room.cpp')
-rw-r--r-- | src/yuzu/multiplayer/chat_room.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/multiplayer/chat_room.cpp b/src/yuzu/multiplayer/chat_room.cpp index 6dd4bc36d..7048ee1fc 100644 --- a/src/yuzu/multiplayer/chat_room.cpp +++ b/src/yuzu/multiplayer/chat_room.cpp @@ -390,7 +390,7 @@ void ChatRoom::SetPlayerList(const Network::RoomMember::MemberList& member_list) return; QPixmap pixmap; if (!pixmap.loadFromData(reinterpret_cast<const u8*>(result.data()), - result.size())) + static_cast<uint>(result.size()))) return; icon_cache[avatar_url] = pixmap.scaled(48, 48, Qt::IgnoreAspectRatio, Qt::SmoothTransformation); |