X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/6563390031a88ffd85308ac3c26ea9d10bc6bc99..4e99adb0d3727c0ae41edc9b3f52448d0d5b7655:/apt-private/acqprogress.cc diff --git a/apt-private/acqprogress.cc b/apt-private/acqprogress.cc index c182fa02d..e4bfbd4e5 100644 --- a/apt-private/acqprogress.cc +++ b/apt-private/acqprogress.cc @@ -210,7 +210,7 @@ bool AcqTextStatus::Pulse(pkgAcquire *Owner) // Add in the short description S << " ["; if (I->CurrentItem->Owner->ID != 0) - S << I->CurrentItem->Owner->ID << " "; + S << std::to_string(I->CurrentItem->Owner->ID) << " "; S << I->CurrentItem->ShortDesc; // Show the short mode string @@ -220,7 +220,7 @@ bool AcqTextStatus::Pulse(pkgAcquire *Owner) enum {Long = 0,Medium,Short} Mode = Medium; // Add the current progress if (Mode == Long) - S << " " << I->CurrentSize; + S << " " << std::to_string(I->CurrentSize); else { if (Mode == Medium || I->TotalSize == 0)