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

The comparisons all involve unsigned variables. Cast the comparison
to unsigned to eliminate the mismatch.

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