diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-08-21 09:27:44 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-08-21 09:27:44 -0700 |
| commit | 915e51b74eda1649b1066d191a0b47cdfbb63249 (patch) | |
| tree | ea1be53dba59a95ca117d107eab4d306635ec8a3 | |
| parent | Merge tag 'l10n-2.42.0-rnd2' of https://github.com/git-l10n/git-po (diff) | |
| parent | fsck: use enum object_type for fsck_walk callback (diff) | |
| download | git-915e51b74eda1649b1066d191a0b47cdfbb63249.tar.gz git-915e51b74eda1649b1066d191a0b47cdfbb63249.zip | |
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
Diffstat (limited to '')
| -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) |
