mirror of
https://github.com/git/git.git
synced 2026-01-11 13:23:12 +09:00
xdiff: use ptrdiff_t for dstart/dend
ptrdiff_t is appropriate for dstart and dend because they both describe positive or negative offsets relative to a pointer. Signed-off-by: Ezekiel Newren <ezekielnewren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
6971934d9b
commit
f007f4f4b4
@ -47,7 +47,7 @@ typedef struct s_xrecord {
|
||||
typedef struct s_xdfile {
|
||||
xrecord_t *recs;
|
||||
long nrec;
|
||||
long dstart, dend;
|
||||
ptrdiff_t dstart, dend;
|
||||
bool *changed;
|
||||
long *rindex;
|
||||
long nreff;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user