summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2014-07-02 03:10:21 +0200
committerMichael Vogt <mvo@debian.org>2014-07-08 10:00:15 +0200
commit3621b1c70f532c61ccfee6a65c413ee573ed4900 (patch)
tree7254b6abc754ce96ddbe3cbeb3157c928d7a0c0e /cmdline
parent3c09d634b6aef7bbdbc75f38e3969f4b46b0ac0d (diff)
Fix ar and tar code to be LFS-safe
This is an ABI break. Closes: #742882
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-extracttemplates.cc2
-rw-r--r--cmdline/apt-extracttemplates.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/apt-extracttemplates.cc b/cmdline/apt-extracttemplates.cc
index 0d568106f..f95b9e5ba 100644
--- a/cmdline/apt-extracttemplates.cc
+++ b/cmdline/apt-extracttemplates.cc
@@ -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)
{
diff --git a/cmdline/apt-extracttemplates.h b/cmdline/apt-extracttemplates.h
index 6d2870a02..829cdae75 100644
--- a/cmdline/apt-extracttemplates.h
+++ b/cmdline/apt-extracttemplates.h
@@ -28,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();