summaryrefslogtreecommitdiff
path: root/pack.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-07-13 17:44:02 +0200
committerJunio C Hamano <gitster@pobox.com>2016-07-13 09:15:08 -0700
commitda49a7da3ad5e31fa858a6d48d8a6af9c4690724 (patch)
treefbdf2983e7c31fff8a024b04d887e71b3519da79 /pack.h
parentfd3e67474c0b349049ccff5f72a50ef930a56013 (diff)
downloadgit-da49a7da3ad5e31fa858a6d48d8a6af9c4690724.tar.gz
index-pack: correct "offset" type in unpack_entry_data()
unpack_entry_data() receives an off_t value from unpack_raw_entry(), which could be larger than unsigned long on 32-bit systems with large file support. Correct the type so truncation does not happen. This only affects bad object reporting though. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack.h')
0 files changed, 0 insertions, 0 deletions