]> git.ipfire.org Git - thirdparty/git.git/commit
xdiff: change rindex from long to size_t in xdfile_t
authorEzekiel Newren <ezekielnewren@gmail.com>
Tue, 18 Nov 2025 22:34:21 +0000 (22:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Nov 2025 22:53:11 +0000 (14:53 -0800)
commit5004a8da14e2aa80b5697b0a3a60e594af1c8292
tree25059251f9801db2f38e8107125552753d25d4a8
parente35877eadbd9bee473936577c82abca9c8333abd
xdiff: change rindex from long to size_t in xdfile_t

The field rindex describes an index offset for other arrays. Change it
to size_t.

Changing the type of rindex from long to size_t has no cascading
refactor impact because it is only ever used to directly index other
arrays.

Signed-off-by: Ezekiel Newren <ezekielnewren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xtypes.h