summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.h
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2020-02-25 11:26:18 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2020-02-25 11:27:30 +0100
commitf17e3ce8213ba364d1eea7b5bab286a2175e5875 (patch)
tree1542a2cc1c8315aaa38e37c16ca17bac94985ac9 /apt-pkg/pkgcache.h
parent4fad7262291a8af1415fb9a3693678bd9610f0d6 (diff)
Silence narrow conversion warnings, add error checks
When converting a long offset to a uint32_t to be stored in the map, check that this is safe to do. If the offset is negative, or we lose data in the conversion, we lost.
Diffstat (limited to 'apt-pkg/pkgcache.h')
0 files changed, 0 insertions, 0 deletions