Skip to content

Commit ed125c4

Browse files
committed
Merge branch 'ab/fsck-api-cleanup'
Last minute compilation fix. * ab/fsck-api-cleanup: builtin/fsck.c: don't conflate "int" and "enum" in callback
2 parents 4e42405 + 28abf26 commit ed125c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builtin/fsck.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ static int fsck_error_func(struct fsck_options *o,
109109

110110
static struct object_array pending;
111111

112-
static int mark_object(struct object *obj, int type, void *data, struct fsck_options *options)
112+
static int mark_object(struct object *obj, enum object_type type,
113+
void *data, struct fsck_options *options)
113114
{
114115
struct object *parent = data;
115116

0 commit comments

Comments
 (0)