]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/unpack-objects.c
Merge branch 'en/ort-perf-batch-9'
[thirdparty/git.git] / builtin / unpack-objects.c
index a4ba2ebac692d9844fe328361133885c095ceb24..4a70b17f8fb394c17f98bc8683e7b38f5bf975ba 100644 (file)
@@ -187,7 +187,8 @@ static void write_cached_object(struct object *obj, struct obj_buffer *obj_buf)
  * that have reachability requirements and calls this function.
  * Verify its reachability and validity recursively and write it out.
  */
-static int check_object(struct object *obj, int type, void *data, struct fsck_options *options)
+static int check_object(struct object *obj, enum object_type type,
+                       void *data, struct fsck_options *options)
 {
        struct obj_buffer *obj_buf;