summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-13 03:32:54 +0100
committerGitHub <noreply@github.com>2018-11-13 03:32:54 +0100
commitd08b876c9d4578229941bde58e58231fe3e6fc58 (patch)
tree3c1740ea84577a577d5393d498edca7920c5c0d5 /src
parentMerge pull request #1674 from FearlessTobi/fullscreen-fix (diff)
parentyuzu/main: Fix compiler warning (diff)
downloadyuzu-d08b876c9d4578229941bde58e58231fe3e6fc58.tar
yuzu-d08b876c9d4578229941bde58e58231fe3e6fc58.tar.gz
yuzu-d08b876c9d4578229941bde58e58231fe3e6fc58.tar.bz2
yuzu-d08b876c9d4578229941bde58e58231fe3e6fc58.tar.lz
yuzu-d08b876c9d4578229941bde58e58231fe3e6fc58.tar.xz
yuzu-d08b876c9d4578229941bde58e58231fe3e6fc58.tar.zst
yuzu-d08b876c9d4578229941bde58e58231fe3e6fc58.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index ec592c755..131ad19de 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -933,7 +933,8 @@ void GMainWindow::OnGameListDumpRomFS(u64 program_id, const std::string& game_pa
const auto full = res == "Full";
const auto entry_size = CalculateRomFSEntrySize(extracted, full);
- QProgressDialog progress(tr("Extracting RomFS..."), tr("Cancel"), 0, entry_size, this);
+ QProgressDialog progress(tr("Extracting RomFS..."), tr("Cancel"), 0,
+ static_cast<s32>(entry_size), this);
progress.setWindowModality(Qt::WindowModal);
progress.setMinimumDuration(100);