diff options
author | Mike Hommey <mh@glandium.org> | 2025-01-17 16:49:09 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-01-17 09:27:42 -0800 |
commit | 49b299215dd779b781c5a39af85a5acb6294acbd (patch) | |
tree | 4534c212d007dc45198297bb4747529fa28c9244 /builtin/commit.c | |
parent | fbe8d3079d4a96aeb4e4529cc93cc0043b759a05 (diff) |
connect: address -Wsign-compare warnings
Most of the warnings were about loop variables being declared as ints
with a condition using a size_t, whereby switching the variable to
size_t fixes the warning.
One other case was comparing the result of strlen to an int passed
as an argument, which turns out could just as well be passed as a
size_t, albeit trickling to other functions.
Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions