]> git.ipfire.org Git - thirdparty/git.git/commit
string-list: fix sign compare warnings for loop iterator
authorshejialuo <shejialuo@gmail.com>
Sun, 29 Jun 2025 04:27:41 +0000 (12:27 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jul 2025 15:07:45 +0000 (08:07 -0700)
commitba472ab2f1b1af8ccb9768859fa56e2d136a759e
tree809b53328e118fff2648a4ab666bdc25c906bd5e
parent16bd9f20a403117f2e0d9bcda6c6e621d3763e77
string-list: fix sign compare warnings for loop iterator

There are a couple of "-Wsign-compare" warnings in "string-list.c". Fix
trivial ones that result from a mismatched loop iterator type.

There is a single warning left after these fixes. This warning needs
a bit more care and is thus handled in subsequent commits.

Signed-off-by: shejialuo <shejialuo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
string-list.c