mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
e35877eadb
commit
5004a8da14
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user