|
From: Alexander S. <ale...@gm...> - 2013-11-06 07:55:43
|
Sorry if I it was fixed long ago. Got error during compilation on latest Ubuntu: ipsec_doi.c: In function ‘get_proppair_and_doi_sit’: ipsec_doi.c:1186:24: error: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess] Since "pair" defined as "struct prop_pair **pair", I suppose the line in question should be: memset(pair, 0, sizeof(*pair)); instead of: memset(pair, 0, sizeof(pair)); |