- various "cosmetics" cleanups to shut up gcc complaints on higher warning
[apt.git] / methods / gzip.cc
index 546207f..d49c7ac 100644 (file)
@@ -94,7 +94,7 @@ bool GzipMethod::Fetch(FetchItem *Itm)
    while (1) 
    {
       unsigned char Buffer[4*1024];
-      unsigned long Count;
+      ssize_t Count;
       
       Count = read(GzOut[0],Buffer,sizeof(Buffer));
       if (Count < 0 && errno == EINTR)