diff options
| author | 2018-10-30 00:27:41 -0400 | |
|---|---|---|
| committer | 2018-10-30 00:27:41 -0400 | |
| commit | c31412c43366a8d0165f7f6c24bc861182fb41ba (patch) | |
| tree | 6dd804c7f71b4faaf0e90b1e4097e82e5cb45ea8 | |
| parent | global: Use std::optional instead of boost::optional (#1578) (diff) | |
| parent | configure_system: Fix compiler warning (diff) | |
| download | yuzu-c31412c43366a8d0165f7f6c24bc861182fb41ba.tar.gz yuzu-c31412c43366a8d0165f7f6c24bc861182fb41ba.tar.xz yuzu-c31412c43366a8d0165f7f6c24bc861182fb41ba.zip | |
Merge pull request #1595 from FreddyFunk/cast
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 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) { | |||
| 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); |