diff options
author | bunnei <bunneidev@gmail.com> | 2018-11-12 18:32:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 18:32:54 -0800 |
commit | d08b876c9d4578229941bde58e58231fe3e6fc58 (patch) | |
tree | 3c1740ea84577a577d5393d498edca7920c5c0d5 | |
parent | b4a6ce02ce61cbb3fb961430b011842d779dd7e9 (diff) | |
parent | 6c8b788d32fc760ef8aedff5363ebc5c63a2b049 (diff) |
Merge pull request #1650 from FreddyFunk/cast
yuzu/main: Fix compiler warning
-rw-r--r-- | src/yuzu/main.cpp | 3 |
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); |