]> git.ipfire.org Git - thirdparty/git.git/commit
daemon: fix loops that have mismatching integer types
authorPatrick Steinhardt <ps@pks.im>
Fri, 6 Dec 2024 10:27:25 +0000 (11:27 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Dec 2024 11:20:04 +0000 (20:20 +0900)
commit8108d1ac948c1029b29d8180dd5dbfdc5f2efb38
tree6fac8c63a9cf1aa5813f08081a63a865e71c1016
parent80c9e70ebe871f0826bc101142c66ff783405100
daemon: fix loops that have mismatching integer types

We have several loops in "daemon.c" that use a signed integer to loop
through a `size_t`. Adapt them to instead use a `size_t` as counter
value.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
daemon.c