maintainer-feedback requested: [Bug 268260] devel/libgtop: fix build with clang 15

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 08 Dec 2022 22:44:59 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gnome (Nobody)
<gnome@FreeBSD.org> for maintainer-feedback:
Bug 268260: devel/libgtop: fix build with clang 15
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268260



--- Description ---
During an exp-run for llvm 15 (see bug 265425), it turned out that
devel/libgtop failed to 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);
									   ^

Indeed the parameter is supposed to be a pid_t, and upstream fixed this in
<https://gitlab.gnome.org/GNOME/libgtop/-/commit/df6393ac>.