fixed warning: expression which evaluates to zero treated as a null pointer constant of type 'struct addrinfo *'
Seems to be innocent, but clang is correct that this is strange. init_tun() expects two pointers, but options_string() tried to feed it two uint32_t values. Signed-off-by: Steffan Karger <stef...@karger.me> --- src/openvpn/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openvpn/options.c b/src/openvpn/options.c index f536daa..84eb6ed 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -2934,8 +2934,8 @@ options_string (const struct options *o, o->ifconfig_ipv6_local, o->ifconfig_ipv6_netbits, o->ifconfig_ipv6_remote, - (in_addr_t)0, - (in_addr_t)0, + NULL, + NULL, false, NULL); if (tt) -- 1.9.1