mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
Small warnings cleanup (#6671)
* Ignore more warnings These are intentional * Signed/unsigned mismatch when comparing * Explictly cast values * Intentionally discard a nodiscard value * Change ppu_tid to u32 * Do not use POSIX function name on Windows * Qt: Use horizontalAdvance instead of width * Change progress variables to u32
This commit is contained in:
parent
89a2d04f96
commit
f3ed26e9db
17 changed files with 45 additions and 39 deletions
|
@ -552,7 +552,11 @@ bool update_manager::handle_rpcs3(const QByteArray& rpcs3_data, bool automatic)
|
|||
m_progress_dialog->close();
|
||||
QMessageBox::information(m_parent, tr("Auto-updater"), tr("Update successful!"));
|
||||
|
||||
#ifdef _WIN32
|
||||
int ret = _execl(replace_path.c_str(), replace_path.c_str(), nullptr);
|
||||
#else
|
||||
int ret = execl(replace_path.c_str(), replace_path.c_str(), nullptr);
|
||||
#endif
|
||||
if (ret == -1)
|
||||
{
|
||||
LOG_ERROR(GENERAL, "[Auto-updater] Relaunching failed with result: %d(%s)", ret, strerror(errno));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue