Date: Tue, 06 Dec 2022 21:14:17 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268209] sysutils/pftop: fix build with clang 15 Message-ID: <bug-268209-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268209 Bug ID: 268209 Summary: sysutils/pftop: fix build with clang 15 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: grembo@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(grembo@FreeBSD.org) Assignee: grembo@FreeBSD.org During an exp-run for llvm 15 (see bug 265425), it turned out that sysutils/pftop failed to build with clang 15: pftop.c:1656:28: error: incompatible pointer to integer conversion passing 'counter_u64_t' (aka 'unsigned long *') to parameter of type 'u_int64_t' (aka 'unsigned long'); dereference with * [-Wint-conversion] print_fld_size(FLD_STATS, pr->states_tot); ^~~~~~~~~~~~~~ * Indeed, the states_tot field is a pointer, and must be derefenced first. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268209-7788>