]> git.saurik.com Git - apt.git/blobdiff - cmdline/acqprogress.cc
fix crash when P.Arch() was used but the cache got remapped
[apt.git] / cmdline / acqprogress.cc
index ba334ce05737c7057707239a0f12dcb54dc74da9..d2db949ea05962a64421b8c8c170ccf9d79b1a57 100644 (file)
@@ -200,7 +200,7 @@ bool AcqTextStatus::Pulse(pkgAcquire *Owner)
             
       // Add the current progress
       if (Mode == Long)
-        snprintf(S,End-S," %lu",I->CurrentSize);
+        snprintf(S,End-S," %llu",I->CurrentSize);
       else
       {
         if (Mode == Medium || I->TotalSize == 0)