]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-extracttemplates.cc
test if TMPDIR is accessible before using
[apt.git] / cmdline / apt-extracttemplates.cc
index 7be59b9f81cae3cf7b1b7a2002fa843b308209e4..f95b9e5ba2eff3ec8943127a60f317541cec89d1 100644 (file)
@@ -52,7 +52,7 @@ pkgCache *DebFile::Cache = 0;
 // ---------------------------------------------------------------------
 /* */
 DebFile::DebFile(const char *debfile)
-       : File(debfile, FileFd::ReadOnly), Size(0), Control(NULL), ControlLen(0),
+       : File(debfile, FileFd::ReadOnly), Control(NULL), ControlLen(0),
          DepOp(0), PreDepOp(0), Config(0), Template(0), Which(None)
 {
 }
@@ -140,7 +140,7 @@ bool DebFile::DoItem(Item &I, int &Fd)
 // ---------------------------------------------------------------------
 /* */
 bool DebFile::Process(Item &/*I*/, const unsigned char *data,
-               unsigned long size, unsigned long pos)
+               unsigned long long size, unsigned long long pos)
 {
        switch (Which)
        {