diff options
-rw-r--r-- | apt-pkg/indexcopy.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/indexcopy.cc b/apt-pkg/indexcopy.cc index 9fa9361a3..88c2150ff 100644 --- a/apt-pkg/indexcopy.cc +++ b/apt-pkg/indexcopy.cc @@ -414,7 +414,7 @@ bool IndexCopy::GrabFirst(string Path,string &To,unsigned int Depth) bool PackageCopy::GetFile(string &File,unsigned long long &Size) { File = Section->FindS("Filename"); - Size = Section->FindI("Size"); + Size = Section->FindULL("Size"); if (File.empty() || Size == 0) return _error->Error("Cannot find filename or size tag"); return true; |