Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-06-02 01:34:27 +0300
committerJunio C Hamano <gitster@pobox.com>2021-06-02 01:34:27 +0300
commited125c4f07ba69c53c9f4d74ff395a4bf7854ea7 (patch)
tree1b3ef9a17cbb929d5497a136aa7b6a08a49aaa9d
parent4e42405f00ecbbee412846f48cb0253efeebe726 (diff)
parent28abf260a52b2fb79342d5010e921602e078149f (diff)
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
-rw-r--r--builtin/fsck.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/fsck.c b/builtin/fsck.c
index 87a99b0108..b42b6fe21f 100644
--- a/builtin/fsck.c
+++ b/builtin/fsck.c
@@ -109,7 +109,8 @@ static int fsck_error_func(struct fsck_options *o,
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;