Fix some compiler warnings (#416)

This commit is contained in:
Tillsunset 2022-10-26 07:47:44 -05:00 committed by GitHub
parent 3869b47c35
commit 9ebbfb3ae2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View file

@ -509,7 +509,7 @@ void CemuUpdateWindow::WorkerThread()
forceLog_printf("applying update error: %s", sys.what());
}
if ((counter++ / 10) * 10 == counter)
if ((counter++ % 10) == 0)
{
auto* event = new wxCommandEvent(wxEVT_PROGRESS);
event->SetInt(counter);