]> git.ipfire.org Git - thirdparty/git.git/commit
t-strvec: fix type mismatch in check_strvec
authorRené Scharfe <l.s.r@web.de>
Tue, 16 Jul 2024 16:14:35 +0000 (18:14 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Jul 2024 16:30:30 +0000 (09:30 -0700)
commit78687168bcaeabd3bdcaa1849dc9dc7d3a6f02db
tree38f8a1ddfc4f5e393eb8685fdc8067c4b53f6f4d
parent141e13ee1ada7b0c469f843cf3c8bfd5a4b3fa78
t-strvec: fix type mismatch in check_strvec

Cast i from size_t to uintmax_t to match the format string.

Reported-by: Jeff King <peff@peff.net>
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/unit-tests/t-strvec.c