ソースを参照

Merge pull request #1650 from FreddyFunk/cast

yuzu/main: Fix compiler warning
bunnei 7 年 前
コミット
d08b876c9d
1 ファイル変更2 行追加1 行削除
  1. 2 1
      src/yuzu/main.cpp

+ 2 - 1
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);