diff --git a/libnm-core/nm-core-internal.h b/libnm-core/nm-core-internal.h index 6e2a5b5e9..c251f8690 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];