]> git.ipfire.org Git - thirdparty/git.git/commit
xdiff: avoid signed vs. unsigned comparisons in xemit.c
authorDavid Aguilar <davvid@gmail.com>
Wed, 12 Feb 2025 06:04:15 +0000 (22:04 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Feb 2025 17:41:16 +0000 (09:41 -0800)
commit46fb0843536f2e9281c45042b024098a38236b17
tree3b487f5660ae3f47048c79ded97d3aa41c082355
parent0d31bab479820c1536893f6fbc0dbb1ef1637eb0
xdiff: avoid signed vs. unsigned comparisons in xemit.c

The unsigned `ignored` variable causes expressions to promote to
unsigned. Use a signed value to make comparisons use the same types.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xemit.c