summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-30 05:27:41 +0100
committerGitHub <noreply@github.com>2018-10-30 05:27:41 +0100
commitc31412c43366a8d0165f7f6c24bc861182fb41ba (patch)
tree6dd804c7f71b4faaf0e90b1e4097e82e5cb45ea8
parentglobal: Use std::optional instead of boost::optional (#1578) (diff)
parentconfigure_system: Fix compiler warning (diff)
downloadyuzu-c31412c43366a8d0165f7f6c24bc861182fb41ba.tar
yuzu-c31412c43366a8d0165f7f6c24bc861182fb41ba.tar.gz
yuzu-c31412c43366a8d0165f7f6c24bc861182fb41ba.tar.bz2
yuzu-c31412c43366a8d0165f7f6c24bc861182fb41ba.tar.lz
yuzu-c31412c43366a8d0165f7f6c24bc861182fb41ba.tar.xz
yuzu-c31412c43366a8d0165f7f6c24bc861182fb41ba.tar.zst
yuzu-c31412c43366a8d0165f7f6c24bc861182fb41ba.zip
-rw-r--r--src/yuzu/configuration/configure_system.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_system.cpp b/src/yuzu/configuration/configure_system.cpp
index bb7ae3da4..1b8aa7de2 100644
--- a/src/yuzu/configuration/configure_system.cpp
+++ b/src/yuzu/configuration/configure_system.cpp
@@ -78,7 +78,7 @@ QPixmap GetIcon(Service::Account::UUID uuid) {
if (!icon) {
icon.fill(Qt::black);
- icon.loadFromData(backup_jpeg.data(), backup_jpeg.size());
+ icon.loadFromData(backup_jpeg.data(), static_cast<u32>(backup_jpeg.size()));
}
return icon.scaled(64, 64, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);