summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-worker.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:54:37 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:54:37 +0000
commitbf3abeedae8085fc1ef2180e2b331a213a842735 (patch)
tree221b8e96fd0db039957da47bb60a00445664f3f4 /apt-pkg/acquire-worker.cc
parent159eedd16edfe5d633a8705ba4e23f9140a3159b (diff)
Fixed sign conversion
Author: jgg Date: 1999-08-28 01:49:07 GMT Fixed sign conversion
Diffstat (limited to 'apt-pkg/acquire-worker.cc')
-rw-r--r--apt-pkg/acquire-worker.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/acquire-worker.cc b/apt-pkg/acquire-worker.cc
index d5b4541a3..972ab2455 100644
--- a/apt-pkg/acquire-worker.cc
+++ b/apt-pkg/acquire-worker.cc
@@ -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);