]> git.saurik.com Git - apt.git/blobdiff - cmdline/acqprogress.cc
Fixed some more bugs
[apt.git] / cmdline / acqprogress.cc
index 89a8280c8124e6c38ba981501cdc31774d3ad61d..a5383a838d9cf2e96c805931b030b945420ed68a 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: acqprogress.cc,v 1.12 1999/04/15 02:43:48 jgg Exp $
+// $Id: acqprogress.cc,v 1.13 1999/04/20 05:59:29 jgg Exp $
 /* ######################################################################
 
    Acquire Progress - Command line progress meter 
@@ -70,7 +70,7 @@ void AcqTextStatus::Fetch(pkgAcquire::ItemDesc &Itm)
    if (Quiet <= 0)
       cout << '\r' << BlankLine << '\r';
    
-   cout << "Get:" << hex << Itm.Owner->ID << dec << ' ' << Itm.Description;
+   cout << "Get:" << Itm.Owner->ID << ' ' << Itm.Description;
    if (Itm.Owner->FileSize != 0)
       cout << " [" << SizeToStr(Itm.Owner->FileSize) << "b]";
    cout << endl;
@@ -170,7 +170,7 @@ void AcqTextStatus::Pulse(pkgAcquire *Owner)
       
       // Add in the short description
       if (I->CurrentItem->Owner->ID != 0)
-        snprintf(S,End-S," [%lx %s",I->CurrentItem->Owner->ID,
+        snprintf(S,End-S," [%lu %s",I->CurrentItem->Owner->ID,
                  I->CurrentItem->ShortDesc.c_str());
       else
         snprintf(S,End-S," [%s",I->CurrentItem->ShortDesc.c_str());