diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-05-22 16:17:46 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-23 14:29:55 +0900 |
commit | a552e50e5a82b9219c6b2911320931417a36af32 (patch) | |
tree | 0ef3bb7bd1f2204084b64505f33ce7afcaa15677 /pack-objects.h | |
parent | 2ced105cb1df064b9400aef5f4d35e20026ab267 (diff) | |
download | git-a552e50e5a82b9219c6b2911320931417a36af32.tar.gz git-a552e50e5a82b9219c6b2911320931417a36af32.tar.xz |
ref_update_reject_duplicates(): use `size_t` rather than `int`
Eliminate a theoretical risk of integer overflow if the two types have
different sizes.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-objects.h')
0 files changed, 0 insertions, 0 deletions