Skip to content

Commit

Permalink
Merge branch 'jk/function-pointer-mismatches-fix' (early part)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gitster committed Aug 21, 2023
2 parents 5a50dd7 + 2bbedde commit 915e51b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/fsck.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 915e51b

Please sign in to comment.