summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-03-13 17:03:25 +0100
committerThomas Haller <thaller@redhat.com>2019-03-13 20:23:11 +0100
commita0d0d4d7706c94afb9618a76366bcab0430bc650 (patch)
tree637575418557cc1f11b15167f99a5eb3f50be11b
parentd62dd09772b570bdc975d7bb2fdc681c574fd3c6 (diff)
downloadNetworkManager-a0d0d4d7706c94afb9618a76366bcab0430bc650.tar.gz
libnm-core: fix type of argument for nm_utils_inet_ntop_dup()
Fixes: 898f7a56655d ('libnm: add internal API nm_utils_inet*_ntop_dup()')
-rw-r--r--libnm-core/nm-core-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-core-internal.h b/libnm-core/nm-core-internal.h
index 6e2a5b5e95..c251f86906 100644
--- a/libnm-core/nm-core-internal.h
+++ b/libnm-core/nm-core-internal.h
@@ -527,7 +527,7 @@ nm_utils_inet6_ntop_dup (const struct in6_addr *addr)
}
static inline char *
-nm_utils_inet_ntop_dup (int addr_family, const struct in6_addr *addr)
+nm_utils_inet_ntop_dup (int addr_family, gconstpointer addr)
{
char buf[NM_UTILS_INET_ADDRSTRLEN];