]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-worker.cc
Another error message for failed updates
[apt.git] / apt-pkg / acquire-worker.cc
index d5b4541a3c86addea0399d59f609897a44b1931d..972ab2455027de38afa06f40dad1f11fcaa3ac02 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: acquire-worker.cc,v 1.26 1999/08/03 05:19:41 jgg Exp $
+// $Id: acquire-worker.cc,v 1.27 1999/08/28 01:49:56 jgg Exp $
 /* ######################################################################
 
    Acquire Worker 
@@ -249,7 +249,7 @@ bool pkgAcquire::Worker::RunMessages()
            pkgAcquire::ItemDesc Desc = *Itm;
            OwnerQ->ItemDone(Itm);
            if (TotalSize != 0 && 
-               atoi(LookupTag(Message,"Size","0").c_str()) != TotalSize)
+               (unsigned)atoi(LookupTag(Message,"Size","0").c_str()) != TotalSize)
               _error->Warning("Bizzar Error - File size is not what the server reported %s %u",
                               LookupTag(Message,"Size","0").c_str(),TotalSize);