X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/38d2959ffb8c6f5f291b2910014a67b1b352ab4c..c21dab6848cbe90736a998cbec8050fdf5110dd7:/apt-inst/dirstream.h diff --git a/apt-inst/dirstream.h b/apt-inst/dirstream.h index 1be2688a1..dac965db7 100644 --- a/apt-inst/dirstream.h +++ b/apt-inst/dirstream.h @@ -25,6 +25,7 @@ #ifndef PKGLIB_DIRSTREAM_H #define PKGLIB_DIRSTREAM_H +#include class pkgDirStream { @@ -40,7 +41,7 @@ class pkgDirStream unsigned long Mode; unsigned long UID; unsigned long GID; - unsigned long Size; + unsigned long long Size; unsigned long MTime; unsigned long Major; unsigned long Minor; @@ -50,8 +51,7 @@ class pkgDirStream virtual bool Fail(Item &Itm,int Fd); virtual bool FinishedFile(Item &Itm,int Fd); virtual bool Process(Item &/*Itm*/,const unsigned char * /*Data*/, - unsigned long /*Size*/,unsigned long /*Pos*/) {return true;}; - + unsigned long long /*Size*/,unsigned long long /*Pos*/) {return true;}; virtual ~pkgDirStream() {}; };