Fix some includes and warnings

This commit is contained in:
Megamouse 2023-01-10 20:30:03 +01:00
parent cf1e68fb0e
commit 6bcb5ae66b
6 changed files with 11 additions and 7 deletions

View file

@ -606,7 +606,7 @@ bool update_manager::handle_rpcs3(const QByteArray& data, bool auto_accept)
update_log.error("Failed to create new AppImage file: %s (%s)", replace_path, fs::g_tls_error);
return false;
}
if (new_appimage.write(data.data(), data.size()) != data.size() + 0u)
if (new_appimage.write(data.data(), data.size()) != data.size() + 0ull)
{
update_log.error("Failed to write new AppImage file: %s", replace_path);
return false;