diff options
| author | Per Larsson <[email protected]> | 2022-02-03 13:49:27 +0100 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2022-02-03 13:49:27 +0100 |
| commit | 011227e58ec2928c392bd153f7350919c31eaed7 (patch) | |
| tree | 5a23ed9e346efb2e26a598e1290e8a1d1849964f /zenutil/cache/cachepolicy.cpp | |
| parent | Added encryption key/IV option in LUA. (diff) | |
| parent | Fixed signed/unsigned comparison compile error (diff) | |
| download | zen-011227e58ec2928c392bd153f7350919c31eaed7.tar.xz zen-011227e58ec2928c392bd153f7350919c31eaed7.zip | |
Merge branch 'main' into auth
Diffstat (limited to 'zenutil/cache/cachepolicy.cpp')
| -rw-r--r-- | zenutil/cache/cachepolicy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenutil/cache/cachepolicy.cpp b/zenutil/cache/cachepolicy.cpp index f17c54aa2..7e6477cd4 100644 --- a/zenutil/cache/cachepolicy.cpp +++ b/zenutil/cache/cachepolicy.cpp @@ -77,7 +77,7 @@ namespace DerivedData::Private { CachePolicy Policy = CachePolicy::None; ForEachStrTok(Text, CachePolicyDelimiter, [&Policy, Index = int32_t(0)](const std::string_view& Token) mutable { const int32_t EndIndex = Index; - for (; Index < sizeof(CachePolicyToText) / sizeof(CachePolicyToText[0]); ++Index) + for (; size_t(Index) < sizeof(CachePolicyToText) / sizeof(CachePolicyToText[0]); ++Index) { if (CachePolicyToText[Index].Text == Token) { |