aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEzekiel Newren <ezekielnewren@gmail.com>2025-11-18 22:34:21 +0000
committerJunio C Hamano <gitster@pobox.com>2025-11-18 14:53:11 -0800
commit5004a8da14e2aa80b5697b0a3a60e594af1c8292 (patch)
tree25059251f9801db2f38e8107125552753d25d4a8
parente35877eadbd9bee473936577c82abca9c8333abd (diff)
downloadgit-5004a8da14e2aa80b5697b0a3a60e594af1c8292.tar.xz
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>
-rw-r--r--xdiff/xtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdiff/xtypes.h b/xdiff/xtypes.h
index 1f495f987f..9074cdadd1 100644
--- a/xdiff/xtypes.h
+++ b/xdiff/xtypes.h
@@ -50,7 +50,7 @@ typedef struct s_xdfile {
size_t nrec;
ptrdiff_t dstart, dend;
bool *changed;
- long *rindex;
+ size_t *rindex;
size_t nreff;
} xdfile_t;