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
This commit is contained in:
Junio C Hamano
2021-06-02 07:34:27 +09:00

View File

@ -109,7 +109,8 @@ static int fsck_error_func(struct fsck_options *o,
static struct object_array pending; static struct object_array pending;
static int mark_object(struct object *obj, int type, void *data, struct fsck_options *options) static int mark_object(struct object *obj, enum object_type type,
void *data, struct fsck_options *options)
{ {
struct object *parent = data; struct object *parent = data;