]> git.saurik.com Git - apt.git/blobdiff - apt-private/acqprogress.cc
Avoid wedging the entire system if recoverable :/.
[apt.git] / apt-private / acqprogress.cc
index c182fa02dfd4ebd9379d8595656976e61c4773e1..e4bfbd4e5b44372d30573cc85c24fc73ff4ca5fd 100644 (file)
@@ -210,7 +210,7 @@ bool AcqTextStatus::Pulse(pkgAcquire *Owner)
         // Add in the short description
         S << " [";
         if (I->CurrentItem->Owner->ID != 0)
         // 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
         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)
         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)
         else
         {
            if (Mode == Medium || I->TotalSize == 0)