diff options
Diffstat (limited to 'apt-pkg/install-progress.cc')
-rw-r--r-- | apt-pkg/install-progress.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/install-progress.cc b/apt-pkg/install-progress.cc index f9c8b6d96..2e8fac236 100644 --- a/apt-pkg/install-progress.cc +++ b/apt-pkg/install-progress.cc @@ -383,7 +383,7 @@ bool PackageManagerFancy::DrawStatusLine() { int padding = 4; auto const progressbar_size = size.columns - padding - progress_str.size(); - auto const current_percent = percentage / 100.0; + auto const current_percent = percentage / 100.0f; std::cout << " " << GetTextProgressStr(current_percent, progressbar_size) << " "; |