summaryrefslogtreecommitdiff
path: root/emulators/qemu
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2023-01-07 16:53:53 +0100
committerDimitry Andric <dim@FreeBSD.org>2023-01-16 20:04:47 +0100
commitbb59375ae0ea035a780aabd0259f352c09b23ed9 (patch)
tree5a479c40f04f9fb7af3e8a11461f829f047f2a50 /emulators/qemu
parentx11-toolkits/gtk-sharp20: fix build with clang 15 (diff)
japanese/kakasi: fix build with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that japanese/kakasi failed to build with clang 15: kanjiio.c:1083:11: error: incompatible integer to pointer conversion assigning to 'iconv_t' (aka 'struct __tag_iconv_t *') from 'int' [-Wint-conversion] fromutf8 = -1; ^ ~~ kanjiio.c:1087:9: error: incompatible integer to pointer conversion assigning to 'iconv_t' (aka 'struct __tag_iconv_t *') from 'int' [-Wint-conversion] toutf8 = -1; ^ ~~ This is because 'fromutf8' and 'toutf8' are of pointer type, not int. Add a cast to silence the warning. PR: 268815 Approved by: portmgr (tcberner) MFH: 2023Q1
Diffstat (limited to 'emulators/qemu')
0 files changed, 0 insertions, 0 deletions