diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-08-21 19:27:44 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-08-21 19:27:44 +0300 |
commit | 915e51b74eda1649b1066d191a0b47cdfbb63249 (patch) | |
tree | ea1be53dba59a95ca117d107eab4d306635ec8a3 | |
parent | 5a50dd7edac36c4c2853690cd2c8e84127e29613 (diff) | |
parent | 2bbeddee5d36dfa3fab16ccd0b78dcdcf66c3a99 (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.c | 2 |
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) |