usage: add set_warn_routine()
[gitweb.git] / builtin / index-pack.c
index e2d8ae4a0258e5a5625a2bbc515a4023a033f86b..1008d7f63cab33b162da43f5a8b13cd6e1aea88b 100644 (file)
@@ -430,7 +430,7 @@ static int is_delta_type(enum object_type type)
        return (type == OBJ_REF_DELTA || type == OBJ_OFS_DELTA);
 }
 
-static void *unpack_entry_data(unsigned long offset, unsigned long size,
+static void *unpack_entry_data(off_t offset, unsigned long size,
                               enum object_type type, unsigned char *sha1)
 {
        static char fixed_buf[8192];