Skip to content

Commit

Permalink
Fix compilation error.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Dec 9, 2024
1 parent f61db3e commit 437e7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion td/telegram/files/PartsManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ int64 PartsManager::get_size_or_zero() const {
int64 PartsManager::get_estimated_extra() const {
auto total_estimated_extra = get_expected_size() - get_ready_size();
if (streaming_limit_ != 0) {
auto part_size = get_part_size();
int64 part_size = get_part_size();
auto round_up = [part_size](int64 size) {
return (size + part_size - 1) / part_size * part_size;
};
Expand Down

0 comments on commit 437e7f9

Please sign in to comment.