gentoo/dev-python/netifaces/files/netifaces-0.11.0-musl-clang16-null.patch
Brahmajit Das 2f12d5a41f
dev-python/netifaces: Fix incompatible pointer to integer conversion
Closes: https://bugs.gentoo.org/894448
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32130
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-01-06 15:25:32 +01:00

22 lines
517 B
Diff

Bug: https://bugs.gentoo.org/894448
--- a/netifaces.c
+++ b/netifaces.c
@@ -370,7 +370,7 @@ string_from_sockaddr (struct sockaddr *addr,
failure = getnameinfo (gniaddr, gnilen,
buffer, buflen,
- NULL, 0,
+ 0, 0,
NI_NUMERICHOST);
if (bigaddr) {
@@ -1805,7 +1805,7 @@ gateways (PyObject *self)
sizeof(sanl_from),
&iov,
1,
- NULL,
+ 0,
0,
0
};