summaryrefslogtreecommitdiff
path: root/editor.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-05-22 16:17:46 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-05-23 14:29:55 +0900
commita552e50e5a82b9219c6b2911320931417a36af32 (patch)
tree0ef3bb7bd1f2204084b64505f33ce7afcaa15677 /editor.c
parentref_update_reject_duplicates(): expose function to whole refs module (diff)
downloadtgif-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 'editor.c')
0 files changed, 0 insertions, 0 deletions