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/pkgcache.h | |
parent | 62683ed6459e874119f3346d8be66b85e8a90533 (diff) |
Use a 32-bit djb VersionHash instead of CRC-16
Diffstat (limited to 'apt-pkg/pkgcache.h')
-rw-r--r-- | apt-pkg/pkgcache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/pkgcache.h b/apt-pkg/pkgcache.h index 8d31e4de9..84fc56db8 100644 --- a/apt-pkg/pkgcache.h +++ b/apt-pkg/pkgcache.h @@ -643,7 +643,7 @@ struct pkgCache::Version No two packages in existence should have the same VerStr and Hash with different contents. */ - unsigned short Hash; + uint32_t Hash; /** \brief unique sequel ID */ map_id_t ID; /** \brief parsed priority value */ |