summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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];