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 commita0d0d4d770
)
This commit is contained in:
@@ -527,7 +527,7 @@ nm_utils_inet6_ntop_dup (const struct in6_addr *addr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static inline char *
|
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];
|
char buf[NM_UTILS_INET_ADDRSTRLEN];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user