diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2016-07-13 17:43:59 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-13 09:14:20 -0700 |
commit | 166df26f2821ea23b7c269a32fd63be43a2a0bb9 (patch) | |
tree | 3058361b91790c6e33afddcfe9c472f3d8a5b287 /commit.c | |
parent | pack-objects: pass length to check_pack_crc() without truncation (diff) | |
download | tgif-166df26f2821ea23b7c269a32fd63be43a2a0bb9.tar.xz |
sha1_file.c: use type off_t* for object_info->disk_sizep
This field, filled by sha1_object_info() contains the on-disk size of
an object, which could go over 4GB limit of unsigned long on 32-bit
systems. Use off_t for it instead and update all callers.
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 'commit.c')
0 files changed, 0 insertions, 0 deletions