summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Laing <27208977+FreddyFunk@users.noreply.github.com>2018-10-28 21:13:09 +0100
committerFrederic Laing <27208977+FreddyFunk@users.noreply.github.com>2018-10-28 21:13:09 +0100
commitf50f065c31a49d7d41474c8848a305ca0c3547b3 (patch)
treee5acada854e89fd670e75f1f5b27f9202dc1ead1
parentMerge pull request #1601 from FernandoS27/shader-precision (diff)
downloadyuzu-f50f065c31a49d7d41474c8848a305ca0c3547b3.tar
yuzu-f50f065c31a49d7d41474c8848a305ca0c3547b3.tar.gz
yuzu-f50f065c31a49d7d41474c8848a305ca0c3547b3.tar.bz2
yuzu-f50f065c31a49d7d41474c8848a305ca0c3547b3.tar.lz
yuzu-f50f065c31a49d7d41474c8848a305ca0c3547b3.tar.xz
yuzu-f50f065c31a49d7d41474c8848a305ca0c3547b3.tar.zst
yuzu-f50f065c31a49d7d41474c8848a305ca0c3547b3.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 4b34c1e28..acb458001 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);