diff options
| author | 2018-10-28 21:13:09 +0100 | |
|---|---|---|
| committer | 2018-10-28 21:13:09 +0100 | |
| commit | f50f065c31a49d7d41474c8848a305ca0c3547b3 (patch) | |
| tree | e5acada854e89fd670e75f1f5b27f9202dc1ead1 /src | |
| parent | Merge pull request #1601 from FernandoS27/shader-precision (diff) | |
| download | yuzu-f50f065c31a49d7d41474c8848a305ca0c3547b3.tar.gz yuzu-f50f065c31a49d7d41474c8848a305ca0c3547b3.tar.xz yuzu-f50f065c31a49d7d41474c8848a305ca0c3547b3.zip | |
configure_system: Fix compiler warning
Diffstat (limited to '')
| -rw-r--r-- | src/yuzu/configuration/configure_system.cpp | 2 |
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) { | |||
| 78 | 78 | ||
| 79 | if (!icon) { | 79 | if (!icon) { |
| 80 | icon.fill(Qt::black); | 80 | icon.fill(Qt::black); |
| 81 | icon.loadFromData(backup_jpeg.data(), backup_jpeg.size()); | 81 | icon.loadFromData(backup_jpeg.data(), static_cast<u32>(backup_jpeg.size())); |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | return icon.scaled(64, 64, Qt::IgnoreAspectRatio, Qt::SmoothTransformation); | 84 | return icon.scaled(64, 64, Qt::IgnoreAspectRatio, Qt::SmoothTransformation); |