diff options
author | Po-Chuan Hsieh <sunpoet@sunpoet.net> | 2022-12-28 04:05:49 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-27 21:05:49 +0100 |
commit | e93a0f11eacebf58070705552c0e8c48fa5f1822 (patch) | |
tree | 2b01f2498303f23327d8e80d2fc14926ceaf1b1f | |
parent | 8a9b61bcd5ae307e9c402deeecb424b750fdcfd8 (diff) | |
download | psutil-e93a0f11eacebf58070705552c0e8c48fa5f1822.tar.gz |
Fix build with Clang 15 (#2186)
Reference: https://github.com/freebsd/freebsd-ports/commit/4131f9bfd8d3adb98d096856ee08d2ac7756d7cd
Co-authored-by: Dimitry Andric <dim@FreeBSD.org>
-rw-r--r-- | psutil/arch/freebsd/sys_socks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/arch/freebsd/sys_socks.c b/psutil/arch/freebsd/sys_socks.c index 56c89724..48d3fb4f 100644 --- a/psutil/arch/freebsd/sys_socks.c +++ b/psutil/arch/freebsd/sys_socks.c @@ -62,7 +62,7 @@ psutil_populate_xfiles(void) { struct xfile * -psutil_get_file_from_sock(void *sock) { +psutil_get_file_from_sock(kvaddr_t sock) { struct xfile *xf; int n; |