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>2023-08-21 19:27:44 +0300
committerJunio C Hamano <gitster@pobox.com>2023-08-21 19:27:44 +0300
commit915e51b74eda1649b1066d191a0b47cdfbb63249 (patch)
treeea1be53dba59a95ca117d107eab4d306635ec8a3
parent5a50dd7edac36c4c2853690cd2c8e84127e29613 (diff)
parent2bbeddee5d36dfa3fab16ccd0b78dcdcf66c3a99 (diff)
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
-rw-r--r--builtin/fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/fsck.c b/builtin/fsck.c
index c1d0290026..611925905e 100644
--- a/builtin/fsck.c
+++ b/builtin/fsck.c
@@ -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)