diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-06-01 02:05:59 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-06-02 05:59:15 +0900 |
commit | 28abf260a52b2fb79342d5010e921602e078149f (patch) | |
tree | 57ae16f5343f320cf333790e9bab50f873a731ff /t/t6101-rev-parse-parents.sh | |
parent | fetch-pack: use new fsck API to printing dangling submodules (diff) | |
download | tgif-28abf260a52b2fb79342d5010e921602e078149f.tar.xz |
builtin/fsck.c: don't conflate "int" and "enum" in callback
Fix a warning on AIX's xlc compiler that's been emitted since my
a1aad71601a (fsck.h: use "enum object_type" instead of "int",
2021-03-28):
"builtin/fsck.c", line 805.32: 1506-068 (W) Operation between
types "int(*)(struct object*,enum object_type,void*,struct
fsck_options*)" and "int(*)(struct object*,int,void*,struct
fsck_options*)" is not allowed.
I.e. it complains about us assigning a function with a prototype "int"
where we're expecting "enum object_type".
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6101-rev-parse-parents.sh')
0 files changed, 0 insertions, 0 deletions