- convert several private uses of unsigned int etc to size_t (Ralf Corsepius)
[apt.git] / cmdline / acqprogress.cc
index 5a6198d..05e4b20 100644 (file)
@@ -238,8 +238,8 @@ bool AcqTextStatus::Pulse(pkgAcquire *Owner)
       char Tmp[300];
       unsigned long ETA = (unsigned long)((TotalBytes - CurrentBytes)/CurrentCPS);
       sprintf(Tmp," %sB/s %s",SizeToStr(CurrentCPS).c_str(),TimeToStr(ETA).c_str());
-      unsigned int Len = strlen(Buffer);
-      unsigned int LenT = strlen(Tmp);
+      size_t Len = strlen(Buffer);
+      size_t LenT = strlen(Tmp);
       if (Len + LenT < ScreenWidth)
       {         
         memset(Buffer + Len,' ',ScreenWidth - Len);