diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2020-01-17 14:34:45 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-18 13:39:26 +0100 |
commit | 8c10048dce06ee0f160c86a6df07f0e6d2c34242 (patch) | |
tree | 7d18b03a24c3ce41c76904cd6ccb8430e7638dc4 /apt-pkg/edsp/edsplistparser.cc | |
parent | 62683ed6459e874119f3346d8be66b85e8a90533 (diff) |
Use a 32-bit djb VersionHash instead of CRC-16
Diffstat (limited to 'apt-pkg/edsp/edsplistparser.cc')
-rw-r--r-- | apt-pkg/edsp/edsplistparser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/edsp/edsplistparser.cc b/apt-pkg/edsp/edsplistparser.cc index 96de2b997..45abdbc61 100644 --- a/apt-pkg/edsp/edsplistparser.cc +++ b/apt-pkg/edsp/edsplistparser.cc @@ -59,7 +59,7 @@ APT::StringView edspLikeListParser::Description_md5() } /*}}}*/ // ListParser::VersionHash - Compute a unique hash for this version /*{{{*/ -unsigned short edspLikeListParser::VersionHash() +uint32_t edspLikeListParser::VersionHash() { if (Section.Exists("APT-Hash") == true) return Section.FindI("APT-Hash"); |