HomeFreeBSD

devel/libgtop: unbreak build with clang 15

Description

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)

Details

Provenance
dimAuthored on Dec 8 2022, 10:41 PM
jbeichCommitted on Dec 10 2022, 8:30 AM
Parents
R11:f54b86f044d4: KDE: Update KDE Plasma Desktop to 5.24.7
Branches
Unknown
Tags
Unknown