Skip to content

Commit 915e51b

Browse files
committed
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
2 parents 5a50dd7 + 2bbedde commit 915e51b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/fsck.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ static int traverse_reachable(void)
206206
return !!result;
207207
}
208208

209-
static int mark_used(struct object *obj, int type UNUSED,
209+
static int mark_used(struct object *obj, enum object_type type UNUSED,
210210
void *data UNUSED, struct fsck_options *options UNUSED)
211211
{
212212
if (!obj)

0 commit comments

Comments
 (0)