diff options
Diffstat (limited to 'apt-private')
-rw-r--r-- | apt-private/acqprogress.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-private/acqprogress.cc b/apt-private/acqprogress.cc index a33d51c71..4e6042c3d 100644 --- a/apt-private/acqprogress.cc +++ b/apt-private/acqprogress.cc @@ -194,7 +194,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 @@ -204,7 +204,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) |