Re: [PATCH] read-cache: use size_t for {base,df}_name_compare()
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Feb 5, 2023, 21:09 UTC
- Message-ID
- <230205.86y1pb7r9m.gmgdl@evledraar.gmail.com>
- In-Reply-To
- <d272fd03-a005-f6ad-3f00-6b1a970a519f@web.de>
On Sun, Feb 05 2023, René Scharfe wrote:
> Support names of any length in base_name_compare() and df_name_compare() > by using size_t for their length parameters. They pass the length on to > memcmp(3), which also takes it as a size_t.
This looks good, and it's nice to see changes that slowly address the greater topic of our outstanding -Werror=sign-compare issues.