mirror of
https://github.com/git/git.git
synced 2024-05-29 07:26:10 +02:00
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>
This commit is contained in:
parent
2ced105cb1
commit
a552e50e5a
Loading…
Reference in New Issue