diff options
author | Patrick Steinhardt <ps@pks.im> | 2015-11-24 10:52:17 +0100 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2015-12-01 09:02:47 +0100 |
commit | 944dbd1259f930c8af543be172072a94afe9254a (patch) | |
tree | cddb29b45526a1672e81fd0a4ef039e1bdb9097d /tests/diff/diffiter.c | |
parent | cb1cb24ca9588e43edfb8b37e008c2e83af580af (diff) | |
download | libgit2-944dbd1259f930c8af543be172072a94afe9254a.tar.gz |
blame: use size_t for line counts in git_blame__entry
The `git_blame__entry` struct keeps track of line counts with
`int` fields. Since `int` is only guaranteed to be at least 16
bits we may overflow on certain platforms when line counts exceed
2^15.
Fix this by instead storing line counts in `size_t`.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions