]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-extracttemplates.h
DropPrivs: Move the re-set uid/gid thing to the end of the function
[apt.git] / cmdline / apt-extracttemplates.h
index 9cc3f5f258be11451c4492a60ad9ccf1891abd05..829cdae755c39b5ca8eb5c1d6542c6f3589310e0 100644 (file)
@@ -20,7 +20,6 @@ class pkgCache;
 class DebFile : public pkgDirStream
 {
        FileFd File;
-       unsigned long Size;
        char *Control;
        unsigned long ControlLen;
        
@@ -29,7 +28,7 @@ public:
        ~DebFile();
        bool DoItem(Item &I, int &fd);
        bool Process(pkgDirStream::Item &I, const unsigned char *data, 
-               unsigned long size, unsigned long pos);
+               unsigned long long size, unsigned long long pos);
 
        bool Go();
        bool ParseInfo();