Signed-off-by: Nguyễn Thái Ngọc Duy <pclo...@gmail.com>
---
 compiler warning fix

 builtin/index-pack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builtin/index-pack.c b/builtin/index-pack.c
index 89bc708..1895adf 100644
--- a/builtin/index-pack.c
+++ b/builtin/index-pack.c
@@ -776,7 +776,7 @@ static void *unpack_raw_entry(struct object_entry *obj,
        case OBJ_OFS_DELTA:
                if (packv4)
                        die(_("pack version 4 does not support ofs-delta type 
(offset %lu)"),
-                           obj->idx.offset);
+                           (unsigned long)obj->idx.offset);
                offset = obj->idx.offset - read_varint();
                if (offset <= 0 || offset >= obj->idx.offset)
                        bad_object(obj->idx.offset,
-- 
1.8.2.82.gc24b958

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to