summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-11-12 18:32:54 -0800
committerGravatar GitHub2018-11-12 18:32:54 -0800
commitd08b876c9d4578229941bde58e58231fe3e6fc58 (patch)
tree3c1740ea84577a577d5393d498edca7920c5c0d5 /src
parentMerge pull request #1674 from FearlessTobi/fullscreen-fix (diff)
parentyuzu/main: Fix compiler warning (diff)
downloadyuzu-d08b876c9d4578229941bde58e58231fe3e6fc58.tar.gz
yuzu-d08b876c9d4578229941bde58e58231fe3e6fc58.tar.xz
yuzu-d08b876c9d4578229941bde58e58231fe3e6fc58.zip
Merge pull request #1650 from FreddyFunk/cast
yuzu/main: Fix compiler warning
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
933 const auto full = res == "Full"; 933 const auto full = res == "Full";
934 const auto entry_size = CalculateRomFSEntrySize(extracted, full); 934 const auto entry_size = CalculateRomFSEntrySize(extracted, full);
935 935
936 QProgressDialog progress(tr("Extracting RomFS..."), tr("Cancel"), 0, entry_size, this); 936 QProgressDialog progress(tr("Extracting RomFS..."), tr("Cancel"), 0,
937 static_cast<s32>(entry_size), this);
937 progress.setWindowModality(Qt::WindowModal); 938 progress.setWindowModality(Qt::WindowModal);
938 progress.setMinimumDuration(100); 939 progress.setMinimumDuration(100);
939 940