struct iovec::iov_len is 'size_t' rather than 'long int'. https://man7.org/linux/man-pages/man3/iovec.3type.html --- src/shared/bap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared/bap.c b/src/shared/bap.c index 1cf0fcfb9b79..5d4d69d2925b 100644 --- a/src/shared/bap.c +++ b/src/shared/bap.c @@ -7313,7 +7313,7 @@ bool bt_bap_parse_base(struct iovec *iov, uint8_t sgrps; bool ret = true; - util_debug(func, NULL, "BASE len: %ld", iov->iov_len); + util_debug(func, NULL, "BASE len: %zd", iov->iov_len); if (!util_iov_pull_le24(iov, &delay)) return false; @@ -7359,7 +7359,7 @@ bool bt_bap_parse_base(struct iovec *iov, l2_cc.iov_len = l2_cc_len; /* Print Codec Specific Configuration */ - util_debug(func, NULL, "CC len: %ld", l2_cc.iov_len); + util_debug(func, NULL, "CC len: %zd", l2_cc.iov_len); bt_bap_debug_config(l2_cc.iov_base, l2_cc.iov_len, func, NULL); -- 2.43.0