[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:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268260 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2fef1dbd478ea473588cc0f8ec4ff1b3654012a2 commit 2fef1dbd478ea473588cc0f8ec4ff1b3654012a2 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:30:12 +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) 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.