summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2009-11-25 20:22:36 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2009-11-25 20:22:36 +0100
commit6d3176fbe8483df9995e639a49aaf5f6f6fd52ee (patch)
tree2888e4ee15bfa064fad8bb53aff2a296e6a52c79
parent3aa695e3e07925d89bae59e0890f1f3b55b9e15a (diff)
use long instead of short for {Ver,Desc}File size in pkgcache.h
patch from Víctor Manuel Jáquez Leal, thanks! (Closes: #538917)
-rw-r--r--apt-pkg/pkgcache.h4
-rw-r--r--debian/changelog3
2 files changed, 5 insertions, 2 deletions
diff --git a/apt-pkg/pkgcache.h b/apt-pkg/pkgcache.h
index 38733713f..e8a3e1064 100644
--- a/apt-pkg/pkgcache.h
+++ b/apt-pkg/pkgcache.h
@@ -245,7 +245,7 @@ struct pkgCache::VerFile /*{{{*/
map_ptrloc File; // PackageFile
map_ptrloc NextFile; // PkgVerFile
map_ptrloc Offset; // File offset
- unsigned short Size;
+ unsigned long Size;
};
/*}}}*/
struct pkgCache::DescFile /*{{{*/
@@ -253,7 +253,7 @@ struct pkgCache::DescFile /*{{{*/
map_ptrloc File; // PackageFile
map_ptrloc NextFile; // PkgVerFile
map_ptrloc Offset; // File offset
- unsigned short Size;
+ unsigned long Size;
};
/*}}}*/
struct pkgCache::Version /*{{{*/
diff --git a/debian/changelog b/debian/changelog
index fb82eedd4..3e637bcef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -54,6 +54,9 @@ apt (0.7.25) UNRELEASED; urgency=low
(Closes: #463354) which should speed up a bit. Thanks!
* apt-pkg/contrib/mmap.{cc,h}:
- extend it to have a growable flag - unused now but maybe...
+ * apt-pkg/pkgcache.h:
+ - use long instead of short for {Ver,Desc}File size,
+ patch from Víctor Manuel Jáquez Leal, thanks! (Closes: #538917)
[ Chris Leick ]
* doc/ various manpages: