mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
Everywhere: Correctly report progress of downloads larger than 4GiB
This commit changes the variables used to represent the size and progress of downloads from u32 to u64. This allows `pro` and `Browser` to report the total size and progress of a download correctly for downloads larger than 4GiB.
This commit is contained in:
parent
c5e0547377
commit
1a17e08f87
18 changed files with 40 additions and 42 deletions
|
@ -39,7 +39,7 @@ void Request::did_finish(bool success)
|
|||
m_client.did_finish_request({}, *this, success);
|
||||
}
|
||||
|
||||
void Request::did_progress(Optional<u32> total_size, u32 downloaded_size)
|
||||
void Request::did_progress(Optional<u64> total_size, u64 downloaded_size)
|
||||
{
|
||||
m_total_size = total_size;
|
||||
m_downloaded_size = downloaded_size;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue