diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2020-01-28 22:38:24 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-03 12:54:42 +0100 |
commit | 2746cd503accc4d995a9c11f294dbbc560997292 (patch) | |
tree | 67f2a012bbd8f2c365750a8362ab5a980183609f | |
parent | 7d916e09d3c03127259e7bad7b99bbf4c090b511 (diff) |
patterns: Make offset a size_t instead of off_t
This allows comparing against sentence.size()
-rw-r--r-- | apt-pkg/cachefilter-patterns.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/cachefilter-patterns.h b/apt-pkg/cachefilter-patterns.h index bd8ce7e7e..33595dde2 100644 --- a/apt-pkg/cachefilter-patterns.h +++ b/apt-pkg/cachefilter-patterns.h @@ -71,7 +71,7 @@ struct PatternTreeParser struct State { - off_t offset = 0; + size_t offset = 0; }; APT::StringView sentence; |