From f90c663d51ea7e1fcd94b2adb56d3d302deb933d Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 13 Mar 2019 17:03:25 +0100 Subject: [PATCH] libnm-core: fix type of argument for nm_utils_inet_ntop_dup() Fixes: 898f7a56655d ('libnm: add internal API nm_utils_inet*_ntop_dup()') (cherry picked from commit a0d0d4d7706c94afb9618a76366bcab0430bc650) --- libnm-core/nm-core-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];