Merge branch 'jk/function-pointer-mismatches-fix' (early part)

Fix a minor regression that some compiler might notice.

* 'jk/function-pointer-mismatches-fix' (early part):
  fsck: use enum object_type for fsck_walk callback
This commit is contained in:
Junio C Hamano 2023-08-21 09:27:44 -07:00
commit 915e51b74e

View file

@ -206,7 +206,7 @@ static int traverse_reachable(void)
return !!result;
}
static int mark_used(struct object *obj, int type UNUSED,
static int mark_used(struct object *obj, enum object_type type UNUSED,
void *data UNUSED, struct fsck_options *options UNUSED)
{
if (!obj)