summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.h
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 /apt-pkg/pkgcache.h
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)
Diffstat (limited to 'apt-pkg/pkgcache.h')
-rw-r--r--apt-pkg/pkgcache.h4
1 files changed, 2 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 /*{{{*/