diff options
| author | Ezekiel Newren <ezekielnewren@gmail.com> | 2025-11-18 22:34:21 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-18 14:53:11 -0800 |
| commit | 5004a8da14e2aa80b5697b0a3a60e594af1c8292 (patch) | |
| tree | 25059251f9801db2f38e8107125552753d25d4a8 | |
| parent | e35877eadbd9bee473936577c82abca9c8333abd (diff) | |
| download | git-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.h | 2 |
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; |
