libnm-core: fix type of argument for nm_utils_inet_ntop_dup()

Fixes: 898f7a5665 ('libnm: add internal API nm_utils_inet*_ntop_dup()')
(cherry picked from commit a0d0d4d770)
This commit is contained in:
Thomas Haller
2019-03-13 17:03:25 +01:00
parent cfb970b277
commit f90c663d51

View File

@@ -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];