index-pack: report correct bad object offsets even if they are large
commitfd3e67474c0b349049ccff5f72a50ef930a56013
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 13 Jul 2016 15:44:01 +0000 (13 17:44 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Jul 2016 16:14:47 +0000 (13 09:14 -0700)
tree6ecfa60c3ca6b8abb880edfc4e1aa1ed5369d004
parent7171a0b0cf5792fd549b601c84b274cd5e4155ed
index-pack: report correct bad object offsets even if they are large

Use the right type for offsets in this case, off_t, which makes a
difference on 32-bit systems with large file support, and change
formatting code accordingly.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/index-pack.c