Re: [Openvpn-devel] [PATCH 2/2] Fix clang warning in options.c

2014-08-22 Thread David Sommerseth
On 20/08/14 23:00, Steffan Karger wrote: > 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

[Openvpn-devel] [PATCH 2/2] Fix clang warning in options.c

2014-08-20 Thread Steffan Karger
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 Karg