[Bug 268260] devel/libgtop: fix build with clang 15
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 268260] devel/libgtop: fix build with clang 15"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 10 Dec 2022 08:34:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268260
--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch 2022Q4 references this bug:
URL:
https://cgit.FreeBSD.org/ports/commit/?id=b27b06ae72722527f8da7fea83387979cc68416e
commit b27b06ae72722527f8da7fea83387979cc68416e
Author: Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-12-08 22:41:12 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-12-10 08:34:18 +0000
devel/libgtop: unbreak build with clang 15
main.c:226:35: error: incompatible pointer to integer conversion passing
'char[1024]' to parameter of type 'pid_t' (aka 'int') [-Wint-conversion]
(server, &resp->u.data.proc_io, parameter);
^~~~~~~~~
../../include/glibtop/procio.h:78:74: note: passing argument to parameter
'pid' here
void glibtop_get_proc_io_l (glibtop *server, glibtop_proc_io *buf, pid_t
pid);
^
PR: 268260
Reported by: antoine (via bug 265425 exp-run)
(cherry picked from commit 2fef1dbd478ea473588cc0f8ec4ff1b3654012a2)
devel/libgtop/Makefile | 4 ++++
devel/libgtop/distinfo | 2 ++
2 files changed, 6 insertions(+)
--
You are receiving this mail because:
You are the assignee for the bug.